From 68d5e4720bcfedd9b896cd13d6210f1da15fd027 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Tue, 20 Nov 2018 22:40:26 +0530 Subject: added test case to AssignVlanTagResponseTest to increase code coverage Issue-ID: CCSDK-552 Change-Id: Ifd2456108ec0b9eca15fdc104cd47b14e7d23466 Signed-off-by: Sandeep J --- .../apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ms/vlantag-api') 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 bbcebbad..30f817ee 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 @@ -62,5 +62,12 @@ public class AssignVlanTagResponseTest { assertTrue((Integer)assignVlanTagResponse.hashCode() instanceof Integer); } + @Test + public void testErrorMessage() + { + assignVlanTagResponse.errorMessage("test error message"); + assertEquals("test error message",assignVlanTagResponse.getErrorMessage()); + } + } -- cgit 1.2.3-korg