summaryrefslogtreecommitdiffstats
path: root/zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java')
-rw-r--r--zte/sfc-driver/sfc-driver/src/test/java/org/onap/sfc/entity/SdnControllerInfoTest.java2
1 files changed, 2 insertions, 0 deletions
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