From 6f5ae24a7696ea66fabc9e7ab532cd342b0b1536 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Fri, 15 Mar 2019 01:39:10 +0530 Subject: added test case to VmTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I21c87ab20f6c3faee200fcf2d25120175f58e2c5 Signed-off-by: Sandeep J --- .../java/org/onap/appc/flow/controller/interfaceData/VmTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'appc-config') 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); + } } -- cgit 1.2.3-korg