diff options
Diffstat (limited to 'common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityTypeDataDefinitionTest.java')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityTypeDataDefinitionTest.java | 172 |
1 files changed, 172 insertions, 0 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityTypeDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityTypeDataDefinitionTest.java new file mode 100644 index 0000000000..ea2f205bac --- /dev/null +++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/CapabilityTypeDataDefinitionTest.java @@ -0,0 +1,172 @@ +package org.openecomp.sdc.be.datatypes.elements; + +import java.util.List; + +import org.junit.Test; + +public class CapabilityTypeDataDefinitionTest { + + private CapabilityTypeDataDefinition createTestSubject() { + return new CapabilityTypeDataDefinition(); + } + + @Test + public void testCopyConstructor() throws Exception { + CapabilityTypeDataDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + new CapabilityTypeDataDefinition(testSubject); + } + + @Test + public void testGetUniqueId() throws Exception { + CapabilityTypeDataDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getUniqueId(); + } + + @Test + public void testSetUniqueId() throws Exception { + CapabilityTypeDataDefinition testSubject; + String uniqueId = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setUniqueId(uniqueId); + } + + @Test + public void testGetDescription() throws Exception { + CapabilityTypeDataDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getDescription(); + } + + @Test + public void testSetDescription() throws Exception { + CapabilityTypeDataDefinition testSubject; + String description = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setDescription(description); + } + + @Test + public void testGetType() throws Exception { + CapabilityTypeDataDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getType(); + } + + @Test + public void testSetType() throws Exception { + CapabilityTypeDataDefinition testSubject; + String type = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setType(type); + } + + @Test + public void testGetValidSourceTypes() throws Exception { + CapabilityTypeDataDefinition testSubject; + List<String> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getValidSourceTypes(); + } + + @Test + public void testSetValidSourceTypes() throws Exception { + CapabilityTypeDataDefinition testSubject; + List<String> validSourceTypes = null; + + // default test + testSubject = createTestSubject(); + testSubject.setValidSourceTypes(validSourceTypes); + } + + @Test + public void testGetVersion() throws Exception { + CapabilityTypeDataDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getVersion(); + } + + @Test + public void testSetVersion() throws Exception { + CapabilityTypeDataDefinition testSubject; + String version = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setVersion(version); + } + + @Test + public void testGetCreationTime() throws Exception { + CapabilityTypeDataDefinition testSubject; + Long result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getCreationTime(); + } + + @Test + public void testSetCreationTime() throws Exception { + CapabilityTypeDataDefinition testSubject; + Long creationTime = null; + + // default test + testSubject = createTestSubject(); + testSubject.setCreationTime(creationTime); + } + + @Test + public void testGetModificationTime() throws Exception { + CapabilityTypeDataDefinition testSubject; + Long result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getModificationTime(); + } + + @Test + public void testSetModificationTime() throws Exception { + CapabilityTypeDataDefinition testSubject; + Long modificationTime = null; + + // default test + testSubject = createTestSubject(); + testSubject.setModificationTime(modificationTime); + } + + @Test + public void testToString() throws Exception { + CapabilityTypeDataDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toString(); + } +}
\ No newline at end of file |