summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java
new file mode 100644
index 0000000000..329db3bc4d
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ServiceDistributionRespInfoTest.java
@@ -0,0 +1,35 @@
+package org.openecomp.sdc.be.externalapi.servlet.representation;
+
+import org.junit.Test;
+
+public class ServiceDistributionRespInfoTest {
+
+ private ServiceDistributionRespInfo createTestSubject() {
+ return new ServiceDistributionRespInfo();
+ }
+
+ @Test
+ public void testCtr() throws Exception {
+ new ServiceDistributionRespInfo("mock");
+ }
+
+ @Test
+ public void testGetDistributionId() throws Exception {
+ ServiceDistributionRespInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionId();
+ }
+
+ @Test
+ public void testSetDistributionId() throws Exception {
+ ServiceDistributionRespInfo testSubject;
+ String distributionId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionId(distributionId);
+ }
+} \ No newline at end of file