summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-flow-controller
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-03-15 01:39:10 +0530
committerTakamune Cho <takamune.cho@att.com>2019-03-14 23:34:13 +0000
commit6f5ae24a7696ea66fabc9e7ab532cd342b0b1536 (patch)
tree6a855406d0a66c2d70ac267ddb5aa3293c00871a /appc-config/appc-flow-controller
parentbccb7d2c3f6ab6bb59e1a9388be593060d660c38 (diff)
added test case to VmTest.java
to increase code coverage Issue-ID: APPC-1086 Change-Id: I21c87ab20f6c3faee200fcf2d25120175f58e2c5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-config/appc-flow-controller')
-rw-r--r--appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/VmTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/VmTest.java b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/VmTest.java
index 153892d56..401ad0700 100644
--- a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/VmTest.java
+++ b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/interfaceData/VmTest.java
@@ -22,6 +22,7 @@
package org.onap.appc.flow.controller.interfaceData;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
@@ -52,4 +53,9 @@ public class VmTest {
vm.setVmId("VmId");
assertEquals("VmId", vm.getVmId());
}
+
+ @Test
+ public void testToString() {
+ assertTrue(vm.toString() instanceof String);
+ }
}