aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model/src/test/java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java46
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java111
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java71
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java70
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java51
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java92
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java50
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java48
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java59
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java57
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java48
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java86
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java59
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java59
14 files changed, 907 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java
new file mode 100644
index 0000000000..f20b7f35c4
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/AdditionalInformationDefinitionTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AdditionalInformationDefinitionTest {
+
+ private AdditionalInformationDefinition createTestSubject() {
+ return new AdditionalInformationDefinition();
+ }
+
+
+ @Test
+ public void testGetParentUniqueId() throws Exception {
+ AdditionalInformationDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getParentUniqueId();
+ }
+
+
+ @Test
+ public void testSetParentUniqueId() throws Exception {
+ AdditionalInformationDefinition testSubject;
+ String parentUniqueId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setParentUniqueId(parentUniqueId);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ AdditionalInformationDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java
new file mode 100644
index 0000000000..ae347cabc3
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ArtifactDefinitionTest.java
@@ -0,0 +1,111 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactDefinitionTest {
+
+ private ArtifactDefinition createTestSubject() {
+ return new ArtifactDefinition();
+ }
+
+
+ @Test
+ public void testGetPayloadData() throws Exception {
+ ArtifactDefinition testSubject;
+ byte[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPayloadData();
+ }
+
+
+ @Test
+ public void testSetPayload() throws Exception {
+ ArtifactDefinition testSubject;
+ byte[] payloadData = new byte[] { ' ' };
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPayload(payloadData);
+ }
+
+
+ @Test
+ public void testSetPayloadData() throws Exception {
+ ArtifactDefinition testSubject;
+ String payloadData = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ payloadData = null;
+ testSubject.setPayloadData(payloadData);
+
+ // test 2
+ testSubject = createTestSubject();
+ payloadData = "";
+ testSubject.setPayloadData(payloadData);
+ }
+
+
+ @Test
+ public void testGetListHeatParameters() throws Exception {
+ ArtifactDefinition testSubject;
+ List<HeatParameterDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getListHeatParameters();
+ }
+
+
+ @Test
+ public void testSetListHeatParameters() throws Exception {
+ ArtifactDefinition testSubject;
+ List<HeatParameterDefinition> properties = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ properties = null;
+ testSubject.setListHeatParameters(properties);
+ }
+
+
+ @Test
+ public void testCheckEsIdExist() throws Exception {
+ ArtifactDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.checkEsIdExist();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ArtifactDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ArtifactDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java
new file mode 100644
index 0000000000..7286bee4a0
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityDefinitionTest.java
@@ -0,0 +1,71 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityDefinitionTest {
+
+ private CapabilityDefinition createTestSubject() {
+ return new CapabilityDefinition();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ CapabilityDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ CapabilityDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ CapabilityDefinition testSubject;
+ List<ComponentInstanceProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ CapabilityDefinition testSubject;
+ List<ComponentInstanceProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java
new file mode 100644
index 0000000000..75cc2054e5
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/CapabilityTypeDefinitionTest.java
@@ -0,0 +1,70 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityTypeDefinitionTest {
+
+ private CapabilityTypeDefinition createTestSubject() {
+ return new CapabilityTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ String derivedFrom = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ Map<String, PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ Map<String, PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CapabilityTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java
new file mode 100644
index 0000000000..f728aac968
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentMetadataDefinitionTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.model;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.components.ComponentMetadataDataDefinition;
+
+
+public class ComponentMetadataDefinitionTest {
+
+ private ComponentMetadataDefinition createTestSubject() {
+ return new ComponentMetadataDefinition();
+ }
+
+
+ @Test
+ public void testGetMetadataDataDefinition() throws Exception {
+ ComponentMetadataDefinition testSubject;
+ ComponentMetadataDataDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMetadataDataDefinition();
+ }
+
+
+ @Test
+ public void testHashCode() throws Exception {
+ ComponentMetadataDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+
+ @Test
+ public void testEquals() throws Exception {
+ ComponentMetadataDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // test 1
+ testSubject = createTestSubject();
+ obj = null;
+ result = testSubject.equals(obj);
+ Assert.assertEquals(false, result);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java
new file mode 100644
index 0000000000..26db09fb4f
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/DataTypeDefinitionTest.java
@@ -0,0 +1,92 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DataTypeDefinitionTest {
+
+ private DataTypeDefinition createTestSubject() {
+ return new DataTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetConstraints() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyConstraint> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConstraints();
+ }
+
+
+ @Test
+ public void testSetConstraints() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyConstraint> constraints = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConstraints(constraints);
+ }
+
+
+ @Test
+ public void testGetDerivedFrom() throws Exception {
+ DataTypeDefinition testSubject;
+ DataTypeDefinition result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDerivedFrom();
+ }
+
+
+ @Test
+ public void testSetDerivedFrom() throws Exception {
+ DataTypeDefinition testSubject;
+ DataTypeDefinition derivedFrom = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDerivedFrom(derivedFrom);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ DataTypeDefinition testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ DataTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
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
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java
new file mode 100644
index 0000000000..4fe180970b
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupTypeDefinitionTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class GroupTypeDefinitionTest {
+
+ private GroupTypeDefinition createTestSubject() {
+ return new GroupTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ GroupTypeDefinition testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ GroupTypeDefinition testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ GroupTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java
new file mode 100644
index 0000000000..68ff7ed6d3
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InputDefinitionTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InputDefinitionTest {
+
+ private InputDefinition createTestSubject() {
+ return new InputDefinition();
+ }
+
+
+ @Test
+ public void testGetInputs() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceInput> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInputs();
+ }
+
+
+ @Test
+ public void testSetInputs() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceInput> inputs = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInputs(inputs);
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ InputDefinition testSubject;
+ List<ComponentInstanceProperty> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
new file mode 100644
index 0000000000..88c253360c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
@@ -0,0 +1,57 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class InterfaceDefinitionTest {
+
+ private InterfaceDefinition createTestSubject() {
+ return new InterfaceDefinition();
+ }
+
+ @Test
+ public void testIsDefinition() throws Exception {
+ InterfaceDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDefinition();
+ }
+
+ @Test
+ public void testSetDefinition() throws Exception {
+ InterfaceDefinition testSubject;
+ boolean definition = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefinition(definition);
+ }
+
+ @Test
+ public void testGetOperationsMap() throws Exception {
+ InterfaceDefinition testSubject;
+ Map<String, Operation> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOperationsMap();
+ }
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ InterfaceDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java
new file mode 100644
index 0000000000..3ba8f61826
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PolicyTypeDefinitionTest.java
@@ -0,0 +1,48 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PolicyTypeDefinitionTest {
+
+ private PolicyTypeDefinition createTestSubject() {
+ return new PolicyTypeDefinition();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ PolicyTypeDefinition testSubject;
+ List<PropertyDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ PolicyTypeDefinition testSubject;
+ List<PropertyDefinition> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ PolicyTypeDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java
new file mode 100644
index 0000000000..81df0e223d
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/PropertyDefinitionTest.java
@@ -0,0 +1,86 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class PropertyDefinitionTest {
+
+ private PropertyDefinition createTestSubject() {
+ return new PropertyDefinition();
+ }
+
+ @Test
+ public void testGetConstraints() throws Exception {
+ PropertyDefinition testSubject;
+ List<PropertyConstraint> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConstraints();
+ }
+
+ @Test
+ public void testSetConstraints() throws Exception {
+ PropertyDefinition testSubject;
+ List<PropertyConstraint> constraints = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConstraints(constraints);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ PropertyDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testIsDefinition() throws Exception {
+ PropertyDefinition testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDefinition();
+ }
+
+ @Test
+ public void testSetDefinition() throws Exception {
+ PropertyDefinition testSubject;
+ boolean definition = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefinition(definition);
+ }
+
+ @Test
+ public void testHashCode() throws Exception {
+ PropertyDefinition testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.hashCode();
+ }
+
+ @Test
+ public void testEquals() throws Exception {
+ PropertyDefinition testSubject;
+ Object obj = null;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.equals(obj);
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java
new file mode 100644
index 0000000000..6d0f192d1c
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/CategoryDefinitionTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.model.category;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CategoryDefinitionTest {
+
+ private CategoryDefinition createTestSubject() {
+ return new CategoryDefinition();
+ }
+
+
+ @Test
+ public void testGetSubcategories() throws Exception {
+ CategoryDefinition testSubject;
+ List<SubCategoryDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSubcategories();
+ }
+
+
+ @Test
+ public void testSetSubcategories() throws Exception {
+ CategoryDefinition testSubject;
+ List<SubCategoryDefinition> subcategories = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSubcategories(subcategories);
+ }
+
+
+ @Test
+ public void testAddSubCategory() throws Exception {
+ CategoryDefinition testSubject;
+ SubCategoryDefinition subcategory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addSubCategory(subcategory);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ CategoryDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java
new file mode 100644
index 0000000000..f9acabdc4b
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/category/SubCategoryDefinitionTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.model.category;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SubCategoryDefinitionTest {
+
+ private SubCategoryDefinition createTestSubject() {
+ return new SubCategoryDefinition();
+ }
+
+
+ @Test
+ public void testGetGroupings() throws Exception {
+ SubCategoryDefinition testSubject;
+ List<GroupingDefinition> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGroupings();
+ }
+
+
+ @Test
+ public void testSetGroupings() throws Exception {
+ SubCategoryDefinition testSubject;
+ List<GroupingDefinition> groupingDefinitions = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGroupings(groupingDefinitions);
+ }
+
+
+ @Test
+ public void testAddGrouping() throws Exception {
+ SubCategoryDefinition testSubject;
+ GroupingDefinition groupingDefinition = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addGrouping(groupingDefinition);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ SubCategoryDefinition testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file