add unit tests to BE components
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / resources / data / auditing / DistributionDeployEventTest.java
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDeployEventTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/auditing/DistributionDeployEventTest.java
new file mode 100644 (file)
index 0000000..2ea9bf9
--- /dev/null
@@ -0,0 +1,301 @@
+package org.openecomp.sdc.be.resources.data.auditing;
+
+import java.util.Date;
+import java.util.UUID;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DistributionDeployEventTest {
+
+       private DistributionDeployEvent createTestSubject() {
+               return new DistributionDeployEvent();
+       }
+
+       
+       @Test
+       public void testFillFields() throws Exception {
+               DistributionDeployEvent testSubject;
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.fillFields();
+       }
+
+       
+       @Test
+       public void testGetResourceName() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getResourceName();
+       }
+
+       
+       @Test
+       public void testSetResourceName() throws Exception {
+               DistributionDeployEvent testSubject;
+               String resourceName = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setResourceName(resourceName);
+       }
+
+       
+       @Test
+       public void testGetResourceType() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getResourceType();
+       }
+
+       
+       @Test
+       public void testSetResourceType() throws Exception {
+               DistributionDeployEvent testSubject;
+               String resourceType = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setResourceType(resourceType);
+       }
+
+       
+       @Test
+       public void testGetCurrVersion() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getCurrVersion();
+       }
+
+       
+       @Test
+       public void testSetCurrVersion() throws Exception {
+               DistributionDeployEvent testSubject;
+               String currVersion = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setCurrVersion(currVersion);
+       }
+
+       
+       @Test
+       public void testGetTimebaseduuid() throws Exception {
+               DistributionDeployEvent testSubject;
+               UUID result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getTimebaseduuid();
+       }
+
+       
+       @Test
+       public void testSetTimebaseduuid() throws Exception {
+               DistributionDeployEvent testSubject;
+               UUID timebaseduuid = null;
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setTimebaseduuid(timebaseduuid);
+       }
+
+       
+       @Test
+       public void testGetTimestamp1() throws Exception {
+               DistributionDeployEvent testSubject;
+               Date result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getTimestamp1();
+       }
+
+       
+       @Test
+       public void testSetTimestamp1() throws Exception {
+               DistributionDeployEvent testSubject;
+               Date timestamp1 = null;
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setTimestamp1(timestamp1);
+       }
+
+       
+       @Test
+       public void testGetRequestId() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getRequestId();
+       }
+
+       
+       @Test
+       public void testSetRequestId() throws Exception {
+               DistributionDeployEvent testSubject;
+               String requestId = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setRequestId(requestId);
+       }
+
+       
+       @Test
+       public void testGetServiceInstanceId() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getServiceInstanceId();
+       }
+
+       
+       @Test
+       public void testSetServiceInstanceId() throws Exception {
+               DistributionDeployEvent testSubject;
+               String serviceInstanceId = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setServiceInstanceId(serviceInstanceId);
+       }
+
+       
+       @Test
+       public void testGetAction() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getAction();
+       }
+
+       
+       @Test
+       public void testSetAction() throws Exception {
+               DistributionDeployEvent testSubject;
+               String action = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setAction(action);
+       }
+
+       
+       @Test
+       public void testGetStatus() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getStatus();
+       }
+
+       
+       @Test
+       public void testSetStatus() throws Exception {
+               DistributionDeployEvent testSubject;
+               String status = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setStatus(status);
+       }
+
+       
+       @Test
+       public void testGetDesc() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getDesc();
+       }
+
+       
+       @Test
+       public void testSetDesc() throws Exception {
+               DistributionDeployEvent testSubject;
+               String desc = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setDesc(desc);
+       }
+
+       
+       @Test
+       public void testGetModifier() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getModifier();
+       }
+
+       
+       @Test
+       public void testSetModifier() throws Exception {
+               DistributionDeployEvent testSubject;
+               String modifier = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setModifier(modifier);
+       }
+
+       
+       @Test
+       public void testGetDid() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getDid();
+       }
+
+       
+       @Test
+       public void testSetDid() throws Exception {
+               DistributionDeployEvent testSubject;
+               String did = "";
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.setDid(did);
+       }
+
+       
+       @Test
+       public void testToString() throws Exception {
+               DistributionDeployEvent testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.toString();
+       }
+}
\ No newline at end of file