commit | 68d5e4720bcfedd9b896cd13d6210f1da15fd027 | [log] [tgz] |
---|---|---|
author | Sandeep J <sandeejh@in.ibm.com> | Tue Nov 20 22:40:26 2018 +0530 |
committer | Sandeep J <sandeejh@in.ibm.com> | Tue Nov 20 22:41:24 2018 +0530 |
tree | 0b91db152a8a86d2d8fbc185a7b781f9de7b8168 | |
parent | 5160246a8bf4cfa54b623a1b2a737b3a9452f653 [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>
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 bbcebba..30f817e 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 @@ assertTrue((Integer)assignVlanTagResponse.hashCode() instanceof Integer); } + @Test + public void testErrorMessage() + { + assignVlanTagResponse.errorMessage("test error message"); + assertEquals("test error message",assignVlanTagResponse.getErrorMessage()); + } + }