@Test
public void testHashCode() {

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