diff options
author | Sandeep J <sandeejh@in.ibm.com> | 2019-03-15 11:41:59 +0530 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-03-15 13:51:49 +0000 |
commit | e57819e7b1c5aa3e591506a7c413443fd9dfb68a (patch) | |
tree | 52763257d215ced594ed0e7fe1ae9ee5545e9bc0 /appc-sequence-generator/appc-sequence-generator-bundle/src/test/java | |
parent | ff7decf69227be87dfa289abc997f1ddb9703c16 (diff) |
added test case to CapabilityModelTest.java
to increase code coverage
Issue-ID: APPC-1086
Change-Id: I111df5be541166b00e8eefe292bcd41191df27c3
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'appc-sequence-generator/appc-sequence-generator-bundle/src/test/java')
-rw-r--r-- | appc-sequence-generator/appc-sequence-generator-bundle/src/test/java/org/onap/appc/seqgen/objects/CapabilityModelTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
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); + } } |