aboutsummaryrefslogtreecommitdiffstats
path: root/ms/vlantag-api/src
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-12 00:35:38 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-12 00:35:49 +0530
commita365892642980234018e49065646a36852de28f9 (patch)
tree09c37fa54ef5994081adeea879776718d89f2f3a /ms/vlantag-api/src
parent6213aad62019a361126ee218b6b550e539e3582f (diff)
added test case to VlanTagTest.java
to increase code coverage Issue-ID: CCSDK-552 Change-Id: Ib8c6555ef87cc67512d1c56d713289b2f2d2af18 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'ms/vlantag-api/src')
-rw-r--r--ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/VlanTagTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/VlanTagTest.java b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/VlanTagTest.java
index 314b12a2..856a6efd 100644
--- a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/VlanTagTest.java
+++ b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlangtagapi/core/model/VlanTagTest.java
@@ -61,6 +61,7 @@ public class VlanTagTest {
public void testElementVlanRole() {
vlanTag.setElementVlanRole("role");
assertEquals("role", vlanTag.getElementVlanRole());
+ assertTrue(vlanTag.elementVlanRole("role") instanceof VlanTag);
}
@Test