summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2018-11-20 22:40:26 +0530
committerSandeep J <sandeejh@in.ibm.com>2018-11-20 22:41:24 +0530
commit68d5e4720bcfedd9b896cd13d6210f1da15fd027 (patch)
tree0b91db152a8a86d2d8fbc185a7b781f9de7b8168
parent5160246a8bf4cfa54b623a1b2a737b3a9452f653 (diff)
added test case to AssignVlanTagResponseTest
to increase code coverage Issue-ID: CCSDK-552 Change-Id: Ifd2456108ec0b9eca15fdc104cd47b14e7d23466 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
-rw-r--r--ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/AssignVlanTagResponseTest.java7
1 files changed, 7 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 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());
+ }
+
}