Group extends BaseEntity { @Override public int hashCode() { return new HashCodeBuilder(29, 45).append(getName()).toHashCode(); } Group();  Group(String name); String getName(); void setName(String name); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); static final String PROPERTY_NAME; }
@Test public void testHashCode_1() throws Exception { Group fixture = new Group(""); int result = fixture.hashCode(); assertEquals(1305, result); }