summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-01-29 20:04:57 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-29 20:04:57 +0000
commit4a1b821984005bd253cc923260aa0db890e82fec (patch)
tree74ca8cf92fe033bddf846a964e0353e0a0a8e10d
parentb526c435ac41feba7bd9f64f717f48d6f3af89cf (diff)
parent1ba224c1a08da96e62a393e33df0a23a0412fe39 (diff)
Merge "Added test condition to AssignVlanTagResponse"
-rw-r--r--ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java2
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);
}