re base code
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / InputDefinitionTest.java
1 package org.openecomp.sdc.be.model;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition;
5
6 import java.util.List;
7
8
9 public class InputDefinitionTest {
10
11         private InputDefinition createTestSubject() {
12                 return new InputDefinition();
13         }
14
15         @Test
16         public void testCtor() throws Exception {
17                 new InputDefinition(new PropertyDefinition());
18                 new InputDefinition(new PropertyDataDefinition());
19         }
20         
21         @Test
22         public void testGetInputs() throws Exception {
23                 InputDefinition testSubject;
24                 List<ComponentInstanceInput> result;
25
26                 // default test
27                 testSubject = createTestSubject();
28                 result = testSubject.getInputs();
29         }
30
31         
32         @Test
33         public void testSetInputs() throws Exception {
34                 InputDefinition testSubject;
35                 List<ComponentInstanceInput> inputs = null;
36
37                 // default test
38                 testSubject = createTestSubject();
39                 testSubject.setInputs(inputs);
40         }
41
42         
43         @Test
44         public void testGetProperties() throws Exception {
45                 InputDefinition testSubject;
46                 List<ComponentInstanceProperty> result;
47
48                 // default test
49                 testSubject = createTestSubject();
50                 result = testSubject.getProperties();
51         }
52
53         
54         @Test
55         public void testSetProperties() throws Exception {
56                 InputDefinition testSubject;
57                 List<ComponentInstanceProperty> properties = null;
58
59                 // default test
60                 testSubject = createTestSubject();
61                 testSubject.setProperties(properties);
62         }
63 }