Group extends BaseEntity { @Override public boolean equals(Object obj) { if (!(obj instanceof Group)) { return false; } Group o = (Group) obj; return new EqualsBuilder().append(o.getName(), getName()).isEquals(); } 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 testEquals_1() throws Exception { Group fixture = new Group(""); Object obj = new Object(); boolean result = fixture.equals(obj); assertEquals(false, result); }
@Test public void testEquals_2() throws Exception { Group fixture = new Group(""); Object obj = new Group(); boolean result = fixture.equals(obj); assertEquals(false, result); }
@Test public void testEquals_3() throws Exception { Group fixture = new Group(""); Object obj = new Group(); boolean result = fixture.equals(obj); assertEquals(false, result); }