X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=zte%2Fsfc-driver%2Fsfc-driver%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsfc%2Fentity%2FSdnControllerInfoTest.java;fp=zte%2Fsfc-driver%2Fsfc-driver%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsfc%2Fentity%2FSdnControllerInfoTest.java;h=8d9f11e068ceae07aadbb68b6702eb3e25080f4c;hb=51814384b801b5479582cc190065a44e9c866279;hp=0937b20a4db3aee7dcb18dec1fe9b38115893575;hpb=77dddd871421b1de8d92dd76e2a1b237cb00b50f;p=vfc%2Fnfvo%2Fdriver%2Fsfc.git diff --git a/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java b/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java index 0937b20..8d9f11e 100644 --- a/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java +++ b/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java @@ -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