diff options
Diffstat (limited to 'common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinitionTest.java')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinitionTest.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinitionTest.java new file mode 100644 index 0000000000..4dc0194f7b --- /dev/null +++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinitionTest.java @@ -0,0 +1,41 @@ +package org.openecomp.sdc.be.datatypes.elements; + +import org.junit.Test; + +public class OperationInputDefinitionTest { + + private OperationInputDefinition createTestSubject() { + return new OperationInputDefinition(); + } + + @Test + public void testConstructors() throws Exception { + OperationInputDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + new OperationInputDefinition("", ""); + new OperationInputDefinition("stam", testSubject); + } + + @Test + public void testGetLabel() throws Exception { + OperationInputDefinition testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getLabel(); + } + + @Test + public void testSetLabel() throws Exception { + OperationInputDefinition testSubject; + String name = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setLabel(name); + } +}
\ No newline at end of file |