### Question:
TouchIdentifier { @Override public int hashCode() { return identifier; } TouchIdentifier(int aId); @Override boolean equals(Object o); @Override int hashCode(); final int identifier; }### Answer:
@Test public void testHashCode() throws Exception { TouchIdentifier theIdentifier = new TouchIdentifier(10); assertEquals(10, theIdentifier.hashCode()); }