From 1ba224c1a08da96e62a393e33df0a23a0412fe39 Mon Sep 17 00:00:00 2001 From: ezhil Date: Sat, 19 Jan 2019 19:07:18 +0530 Subject: Added test condition to AssignVlanTagResponse Change-Id: I96976973541cf86125f2e6384ca03651b0d65708 Issue-ID: CCSDK-965 Signed-off-by: ezhil --- .../ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ms/vlantag-api/src') 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); } -- cgit 1.2.3-korg