-
Type:
Task
-
Status: Done (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: common 0.11
-
Fix Version/s: common 0.11
-
Labels:
EntityTest.java
@Test
public void testEqualsInheritance(){
first = new EntityObject("1");
second = new Entity() {
};
second.setId(2);
assertFalse(first.equals(second));
}
We should set 'second.setUuid("1")' instead 'second.setId(2)'.
Also instead "1" we can generate real UUID and set it.