diff options
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java')
-rw-r--r-- | catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java new file mode 100644 index 0000000000..6cae685644 --- /dev/null +++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java @@ -0,0 +1,50 @@ +package org.openecomp.sdc.be.model; + +import java.util.List; + +import javax.annotation.Generated; + +import org.junit.Test; + + +public class GroupDefinitionTest { + + private GroupDefinition createTestSubject() { + return new GroupDefinition(); + } + + + @Test + public void testConvertToGroupProperties() throws Exception { + GroupDefinition testSubject; + List<GroupProperty> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.convertToGroupProperties(); + } + + + @Test + public void testConvertFromGroupProperties() throws Exception { + GroupDefinition testSubject; + List<GroupProperty> properties = null; + + // test 1 + testSubject = createTestSubject(); + properties = null; + testSubject.convertFromGroupProperties(properties); + } + + + @Test + public void testIsSamePrefix() throws Exception { + GroupDefinition testSubject; + String resourceName = ""; + boolean result; + + // default test + testSubject = createTestSubject(); + result = testSubject.isSamePrefix(resourceName); + } +}
\ No newline at end of file |