summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
+ }
}