diff options
author | ezhil <ezhrajam@in.ibm.com> | 2019-01-19 19:07:18 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2019-01-19 19:07:38 +0530 |
commit | 1ba224c1a08da96e62a393e33df0a23a0412fe39 (patch) | |
tree | e429ff66daed375796ac979114b20a2f7a422b15 | |
parent | 278ed8924d2d1e1a1b1bfc84b6d0408383c8c939 (diff) |
Added test condition to AssignVlanTagResponse
Change-Id: I96976973541cf86125f2e6384ca03651b0d65708
Issue-ID: CCSDK-965
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
-rw-r--r-- | ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java index 30f817ee..2ff1caa1 100644 --- a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java +++ b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java @@ -18,6 +18,7 @@ package org.onap.ccsdk.apps.ms.vlangtagapi.core.model; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; +import static org.junit.Assert.assertFalse; import java.util.ArrayList; import java.util.List; @@ -59,6 +60,7 @@ public class AssignVlanTagResponseTest { public void testEqualsAndHashcode() { assertTrue(assignVlanTagResponse.equals(assignVlanTagResponse1)); + assertFalse(assignVlanTagResponse.equals(null)); assertTrue((Integer)assignVlanTagResponse.hashCode() instanceof Integer); } |