Tag { @Override public int hashCode() { return text.hashCode(); } Tag(int line, String text); int getLine(); String getText(); String getName(); List<String> getValues(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@Test public void testHashcode() { assertEquals(894422763, tag.hashCode()); }