@Test
public void testEquals() {

  FlumeEventPointer pointerA = new FlumeEventPointer(1, 1);
  FlumeEventPointer pointerB = new FlumeEventPointer(1, 1);
  Assert.assertEquals(pointerA, pointerB);
  Assert.assertEquals(pointerB, pointerA);
  pointerA = new FlumeEventPointer(1, 1);
  pointerB = new FlumeEventPointer(2, 2);
  Assert.assertFalse(pointerA.equals(pointerB));
  Assert.assertFalse(pointerB.equals(pointerA));
}