override hashCode for sonar
[vfc/nfvo/driver/sfc.git] / zte / sfc-driver / sfc-driver / src / test / java / org / onap / sfc / entity / SdnControllerInfoTest.java
index 0937b20..8d9f11e 100644 (file)
@@ -46,6 +46,8 @@ public class SdnControllerInfoTest {
     public void equals() throws Exception {
         assert !entity2.equals(entity1);
         assert entity2.equals(entity2);
+        assert entity2.hashCode() == entity2.hashCode();
+        assert entity2.hashCode() != entity1.hashCode();
     }
 
     @Test