cb68eac92d379e03b4c1a5d658f12cddf5c7ff60
[vid.git] / vid-app-common / src / test / java / org / onap / vid / asdc / beans / tosca / PropertyTest.java
1 package org.onap.vid.asdc.beans.tosca;
2
3 import org.junit.Test;
4
5 public class PropertyTest {
6
7     private Property createTestSubject() {
8         return new Property();
9     }
10
11     @Test
12     public void testGetType() throws Exception {
13         Property testSubject;
14         String result;
15
16         // default test
17         testSubject = createTestSubject();
18         result = testSubject.getType();
19     }
20
21     @Test
22     public void testGetDescription() throws Exception {
23         Property testSubject;
24         String result;
25
26         // default test
27         testSubject = createTestSubject();
28         result = testSubject.getDescription();
29     }
30
31     @Test
32     public void testGetEntry_schema() throws Exception {
33         Property testSubject;
34         Schema result;
35
36         // default test
37         testSubject = createTestSubject();
38         result = testSubject.getEntry_schema();
39     }
40
41
42     @Test
43     public void testSetType() throws Exception {
44         Property testSubject;
45         String type = "";
46
47         // default test
48         testSubject = createTestSubject();
49         testSubject.setType(type);
50     }
51
52     @Test
53     public void testSetDescription() throws Exception {
54         Property testSubject;
55         String description = "";
56
57         // default test
58         testSubject = createTestSubject();
59         testSubject.setDescription(description);
60     }
61
62     @Test
63     public void testSetEntry_schema() throws Exception {
64         Property testSubject;
65         Schema entry_schema = null;
66
67         // default test
68         testSubject = createTestSubject();
69         testSubject.setEntry_schema(entry_schema);
70     }
71
72
73     @Test
74     public void testGetDefault() throws Exception {
75         Property testSubject;
76         String result;
77
78         // default test
79         testSubject = createTestSubject();
80         result = testSubject.getDefault();
81     }
82
83     @Test
84     public void testIsRequired() throws Exception {
85         Property testSubject;
86         boolean result;
87
88         // default test
89         testSubject = createTestSubject();
90         result = testSubject.isRequired();
91     }
92
93     @Test
94     public void testSetDefault() throws Exception {
95         Property testSubject;
96         String _default = "";
97
98         // default test
99         testSubject = createTestSubject();
100         testSubject.setDefault(_default);
101     }
102
103     @Test
104     public void testSetRequired() throws Exception {
105         Property testSubject;
106         boolean required = false;
107
108         // default test
109         testSubject = createTestSubject();
110         testSubject.setRequired(required);
111     }
112 }