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