Service Consumption BE
[sdc.git] / common-be / src / test / java / org / openecomp / sdc / be / datatypes / elements / OperationInputDefinitionTest.java
1 package org.openecomp.sdc.be.datatypes.elements;
2
3 import org.junit.Test;
4
5 public class OperationInputDefinitionTest {
6
7         private OperationInputDefinition createTestSubject() {
8                 return new OperationInputDefinition();
9         }
10
11         @Test
12         public void testConstructors() throws Exception {
13                 OperationInputDefinition testSubject;
14                 String result;
15
16                 // default test
17                 testSubject = createTestSubject();
18                 new OperationInputDefinition("", "", true, "");
19                 new OperationInputDefinition("stam", testSubject, null, null);
20         }
21
22         @Test
23         public void testGetLabel() throws Exception {
24                 OperationInputDefinition testSubject;
25                 String result;
26
27                 // default test
28                 testSubject = createTestSubject();
29                 result = testSubject.getLabel();
30         }
31
32         @Test
33         public void testSetLabel() throws Exception {
34                 OperationInputDefinition testSubject;
35                 String name = "";
36
37                 // default test
38                 testSubject = createTestSubject();
39                 testSubject.setLabel(name);
40         }
41 }