aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/NotificationDataImplTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/NotificationDataImplTest.java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/NotificationDataImplTest.java202
1 files changed, 202 insertions, 0 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/NotificationDataImplTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/NotificationDataImplTest.java
new file mode 100644
index 0000000000..de7e5a129c
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/distribution/engine/NotificationDataImplTest.java
@@ -0,0 +1,202 @@
+package org.openecomp.sdc.be.components.distribution.engine;
+
+import java.util.List;
+
+import org.junit.Test;
+
+public class NotificationDataImplTest {
+
+ private NotificationDataImpl createTestSubject() {
+ return new NotificationDataImpl();
+ }
+
+ @Test
+ public void testGetDistributionID() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionID();
+ }
+
+ @Test
+ public void testGetServiceName() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceName();
+ }
+
+ @Test
+ public void testGetServiceVersion() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceVersion();
+ }
+
+ @Test
+ public void testGetServiceUUID() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceUUID();
+ }
+
+ @Test
+ public void testSetDistributionID() throws Exception {
+ NotificationDataImpl testSubject;
+ String distributionID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionID(distributionID);
+ }
+
+ @Test
+ public void testSetServiceName() throws Exception {
+ NotificationDataImpl testSubject;
+ String serviceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceName(serviceName);
+ }
+
+ @Test
+ public void testSetServiceVersion() throws Exception {
+ NotificationDataImpl testSubject;
+ String serviceVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceVersion(serviceVersion);
+ }
+
+ @Test
+ public void testSetServiceUUID() throws Exception {
+ NotificationDataImpl testSubject;
+ String serviceUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceUUID(serviceUUID);
+ }
+
+ @Test
+ public void testGetServiceDescription() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceDescription();
+ }
+
+ @Test
+ public void testSetServiceDescription() throws Exception {
+ NotificationDataImpl testSubject;
+ String serviceDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceDescription(serviceDescription);
+ }
+
+ @Test
+ public void testGetWorkloadContext() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getWorkloadContext();
+ }
+
+ @Test
+ public void testSetWorkloadContext() throws Exception {
+ NotificationDataImpl testSubject;
+ String workloadContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setWorkloadContext(workloadContext);
+ }
+
+ @Test
+ public void testToString() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+ @Test
+ public void testGetResources() throws Exception {
+ NotificationDataImpl testSubject;
+ List<JsonContainerResourceInstance> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResources();
+ }
+
+ @Test
+ public void testSetResources() throws Exception {
+ NotificationDataImpl testSubject;
+ List<JsonContainerResourceInstance> resources = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResources(resources);
+ }
+
+ @Test
+ public void testGetServiceArtifacts() throws Exception {
+ NotificationDataImpl testSubject;
+ List<ArtifactInfoImpl> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceArtifacts();
+ }
+
+ @Test
+ public void testSetServiceArtifacts() throws Exception {
+ NotificationDataImpl testSubject;
+ List<ArtifactInfoImpl> serviceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceArtifacts(serviceArtifacts);
+ }
+
+ @Test
+ public void testGetServiceInvariantUUID() throws Exception {
+ NotificationDataImpl testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceInvariantUUID();
+ }
+
+ @Test
+ public void testSetServiceInvariantUUID() throws Exception {
+ NotificationDataImpl testSubject;
+ String serviceInvariantUUID = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceInvariantUUID(serviceInvariantUUID);
+ }
+} \ No newline at end of file