diff options
author | Dan Timoney <dtimoney@att.com> | 2019-01-29 20:04:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-29 20:04:32 +0000 |
commit | b526c435ac41feba7bd9f64f717f48d6f3af89cf (patch) | |
tree | 2dedd24e6154a4a0937edf8ae0a261f83dbfccf7 /ms | |
parent | d723792bb7b8b829b370f70055799ca8d5c07f0f (diff) | |
parent | 631d3bedc32be79f18cf794de1ac8f66997a1391 (diff) |
Merge "Test condition to AssignVlanTagRequestInputTest"
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); } + + } |