X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=zte%2Fsfc-driver%2Fsfc-driver%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsfc%2Fentity%2Fportpair%2FPortInfoTest.java;fp=zte%2Fsfc-driver%2Fsfc-driver%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fsfc%2Fentity%2Fportpair%2FPortInfoTest.java;h=9093d9863c5bc47c5de94ef92c4a85740244453c;hb=51814384b801b5479582cc190065a44e9c866279;hp=7d20b5c4945fd673d741a6e8c9771225e9bdb880;hpb=77dddd871421b1de8d92dd76e2a1b237cb00b50f;p=vfc%2Fnfvo%2Fdriver%2Fsfc.git diff --git a/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/portpair/PortInfoTest.java b/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/portpair/PortInfoTest.java index 7d20b5c..9093d98 100644 --- a/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/portpair/PortInfoTest.java +++ b/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/portpair/PortInfoTest.java @@ -49,6 +49,8 @@ public class PortInfoTest { public void equals() throws Exception { assert !portInfo2.equals(portInfo1); assert portInfo2.equals(portInfo2); + assert portInfo2.hashCode() == portInfo2.hashCode(); + assert portInfo2.hashCode() != portInfo1.hashCode(); } @Test