diff options
author | ezhil <ezhrajam@in.ibm.com> | 2019-01-19 18:41:17 +0530 |
---|---|---|
committer | ezhil <ezhrajam@in.ibm.com> | 2019-01-19 18:41:27 +0530 |
commit | 631d3bedc32be79f18cf794de1ac8f66997a1391 (patch) | |
tree | ab8dd6c76be30beabe6033f18e4412f351838a46 /ms | |
parent | 952b8db770578d3c4cfd58c465d913fa2daf6497 (diff) |
Test condition to AssignVlanTagRequestInputTest
Change-Id: Iba1a0b20397a8e0c93ee3a0c751eac7c076a859c
Issue-ID: CCSDK-964
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
Diffstat (limited to 'ms')
-rw-r--r-- | ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagRequestInputTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagRequestInputTest.java b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagRequestInputTest.java index 057e6721..6ae9fa01 100644 --- a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagRequestInputTest.java +++ b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagRequestInputTest.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 org.junit.Before; import org.junit.Test; @@ -94,7 +95,8 @@ public class AssignVlanTagRequestInputTest { @Test public void testEquals() { - assertEquals(true, assignVlanTagRequestInput.equals(assignVlanTagRequestInput1)); + assertEquals(true, assignVlanTagRequestInput.equals(assignVlanTagRequestInput1)); + assertFalse(assignVlanTagRequestInput.equals(null)); } @Test @@ -103,4 +105,6 @@ public class AssignVlanTagRequestInputTest { assertTrue(assignVlanTagRequestInput.toString() instanceof String); assertTrue((Integer)assignVlanTagRequestInput.hashCode() instanceof Integer); } + + } |