aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java118
1 files changed, 118 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java
new file mode 100644
index 0000000000..64ee3db41b
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ProductTest.java
@@ -0,0 +1,118 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.ProductMetadataDataDefinition;
+
+
+public class ProductTest {
+
+ private Product createTestSubject() {
+ return new Product();
+ }
+
+
+ @Test
+ public void testGetFullName() throws Exception {
+ Product testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFullName();
+ }
+
+
+ @Test
+ public void testSetFullName() throws Exception {
+ Product testSubject;
+ String fullName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFullName(fullName);
+ }
+
+
+ @Test
+ public void testGetInvariantUUID() throws Exception {
+ Product testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInvariantUUID();
+ }
+
+
+ @Test
+ public void testSetInvariantUUID() throws Exception {
+ Product testSubject;
+ String invariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInvariantUUID(invariantUUID);
+ }
+
+
+ @Test
+ public void testGetContacts() throws Exception {
+ Product testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getContacts();
+ }
+
+
+ @Test
+ public void testSetContacts() throws Exception {
+ Product testSubject;
+ List<String> contacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setContacts(contacts);
+ }
+
+
+ @Test
+ public void testAddContact() throws Exception {
+ Product testSubject;
+ String contact = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addContact(contact);
+ }
+
+
+ @Test
+ public void testGetIsActive() throws Exception {
+ Product testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIsActive();
+ }
+
+
+ @Test
+ public void testSetIsActive() throws Exception {
+ Product testSubject;
+ Boolean isActive = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIsActive(isActive);
+ }
+
+
+
+} \ No newline at end of file