From e57819e7b1c5aa3e591506a7c413443fd9dfb68a Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Fri, 15 Mar 2019 11:41:59 +0530 Subject: added test case to CapabilityModelTest.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I111df5be541166b00e8eefe292bcd41191df27c3 Signed-off-by: Sandeep J --- .../test/java/org/onap/appc/seqgen/objects/CapabilityModelTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'appc-sequence-generator/appc-sequence-generator-bundle/src') diff --git a/appc-sequence-generator/appc-sequence-generator-bundle/src/test/java/org/onap/appc/seqgen/objects/CapabilityModelTest.java b/appc-sequence-generator/appc-sequence-generator-bundle/src/test/java/org/onap/appc/seqgen/objects/CapabilityModelTest.java index 696999c4c..f8db0562a 100644 --- a/appc-sequence-generator/appc-sequence-generator-bundle/src/test/java/org/onap/appc/seqgen/objects/CapabilityModelTest.java +++ b/appc-sequence-generator/appc-sequence-generator-bundle/src/test/java/org/onap/appc/seqgen/objects/CapabilityModelTest.java @@ -22,6 +22,7 @@ package org.onap.appc.seqgen.objects; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.HashMap; @@ -54,5 +55,10 @@ public class CapabilityModelTest { public void testVfModuleCapabilities() { assertEquals(vfModuleCapabilities, capabilityModel.getVfModuleCapabilities()); } + + @Test + public void testToString() { + assertTrue(capabilityModel.toString() instanceof String); + } } -- cgit 1.2.3-korg