Raise JUnit coverage common-be
[sdc.git] / common-be / src / test / java / org / openecomp / sdc / be / datatypes / elements / InterfaceDataDefinitionTest.java
index e54ba4b..63d4e0d 100644 (file)
@@ -2,8 +2,6 @@ package org.openecomp.sdc.be.datatypes.elements;
 
 import java.util.Map;
 
-import javax.annotation.Generated;
-
 import org.junit.Test;
 
 
@@ -13,7 +11,19 @@ public class InterfaceDataDefinitionTest {
                return new InterfaceDataDefinition();
        }
 
-       
+       @Test
+       public void testOverloadConstructors() throws Exception {
+               InterfaceDataDefinition testSubject;
+               String result;
+
+               // default test
+               testSubject = createTestSubject();
+               result = testSubject.getUniqueId();
+               
+               new InterfaceDataDefinition(testSubject);
+               new InterfaceDataDefinition("","");
+       }
+
        @Test
        public void testGetUniqueId() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -24,7 +34,7 @@ public class InterfaceDataDefinitionTest {
                result = testSubject.getUniqueId();
        }
 
-       
+
        @Test
        public void testSetUniqueId() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -35,7 +45,7 @@ public class InterfaceDataDefinitionTest {
                testSubject.setUniqueId(uniqueId);
        }
 
-       
+
        @Test
        public void testGetType() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -46,7 +56,7 @@ public class InterfaceDataDefinitionTest {
                result = testSubject.getType();
        }
 
-       
+
        @Test
        public void testSetType() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -57,7 +67,7 @@ public class InterfaceDataDefinitionTest {
                testSubject.setType(type);
        }
 
-       
+
        @Test
        public void testGetCreationDate() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -68,7 +78,7 @@ public class InterfaceDataDefinitionTest {
                result = testSubject.getCreationDate();
        }
 
-       
+
        @Test
        public void testSetCreationDate() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -79,7 +89,7 @@ public class InterfaceDataDefinitionTest {
                testSubject.setCreationDate(creationDate);
        }
 
-       
+
        @Test
        public void testGetLastUpdateDate() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -90,7 +100,7 @@ public class InterfaceDataDefinitionTest {
                result = testSubject.getLastUpdateDate();
        }
 
-       
+
        @Test
        public void testSetLastUpdateDate() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -101,7 +111,7 @@ public class InterfaceDataDefinitionTest {
                testSubject.setLastUpdateDate(lastUpdateDate);
        }
 
-       
+
        @Test
        public void testGetDescription() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -112,7 +122,7 @@ public class InterfaceDataDefinitionTest {
                result = testSubject.getDescription();
        }
 
-       
+
        @Test
        public void testSetDescription() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -123,7 +133,7 @@ public class InterfaceDataDefinitionTest {
                testSubject.setDescription(description);
        }
 
-       
+
        @Test
        public void testGetOperations() throws Exception {
                InterfaceDataDefinition testSubject;
@@ -134,7 +144,7 @@ public class InterfaceDataDefinitionTest {
                result = testSubject.getOperations();
        }
 
-       
+
        @Test
        public void testSetOperations() throws Exception {
                InterfaceDataDefinition testSubject;