Merge from ECOMP's repository
[vid.git] / vid-app-common / src / test / java / org / onap / vid / aai / OperationalEnvironmentTest.java
1 package org.onap.vid.aai;
2
3 import org.junit.Test;
4 import org.onap.vid.aai.model.RelationshipList;
5
6 public class OperationalEnvironmentTest {
7
8     private OperationalEnvironment createTestSubject() {
9         return new OperationalEnvironment();
10     }
11
12     @Test
13     public void testGetOperationalEnvironmentId() throws Exception {
14         OperationalEnvironment testSubject;
15         String result;
16
17         // default test
18         testSubject = createTestSubject();
19         result = testSubject.getOperationalEnvironmentId();
20     }
21
22     @Test
23     public void testSetOperationalEnvironmentId() throws Exception {
24         OperationalEnvironment testSubject;
25         String operationalEnvironmentId = "";
26
27         // default test
28         testSubject = createTestSubject();
29         testSubject.setJsonOperationalEnvironmentId(operationalEnvironmentId);
30     }
31
32     @Test
33     public void testGetOperationalEnvironmentName() throws Exception {
34         OperationalEnvironment testSubject;
35         String result;
36
37         // default test
38         testSubject = createTestSubject();
39         result = testSubject.getOperationalEnvironmentName();
40     }
41
42     @Test
43     public void testSetOperationalEnvironmentName() throws Exception {
44         OperationalEnvironment testSubject;
45         String operationalEnvironmentName = "";
46
47         // default test
48         testSubject = createTestSubject();
49         testSubject.setJsonOperationalEnvironmentName(operationalEnvironmentName);
50     }
51
52     @Test
53     public void testGetOperationalEnvironmentType() throws Exception {
54         OperationalEnvironment testSubject;
55         String result;
56
57         // default test
58         testSubject = createTestSubject();
59         result = testSubject.getOperationalEnvironmentType();
60     }
61
62     @Test
63     public void testSetOperationalEnvironmentType() throws Exception {
64         OperationalEnvironment testSubject;
65         String operationalEnvironmentType = "";
66
67         // default test
68         testSubject = createTestSubject();
69         testSubject.setJsonOperationalEnvironmentType(operationalEnvironmentType);
70     }
71
72     @Test
73     public void testGetOperationalEnvironmentStatus() throws Exception {
74         OperationalEnvironment testSubject;
75         String result;
76
77         // default test
78         testSubject = createTestSubject();
79         result = testSubject.getOperationalEnvironmentStatus();
80     }
81
82     @Test
83     public void testSetOperationalEnvironmentStatus() throws Exception {
84         OperationalEnvironment testSubject;
85         String operationalEnvironmentStatus = "";
86
87         // default test
88         testSubject = createTestSubject();
89         testSubject.setJsonOperationalEnvironmentStatus(operationalEnvironmentStatus);
90     }
91
92     @Test
93     public void testGetTenantContext() throws Exception {
94         OperationalEnvironment testSubject;
95         String result;
96
97         // default test
98         testSubject = createTestSubject();
99         result = testSubject.getTenantContext();
100     }
101
102     @Test
103     public void testSetTenantContext() throws Exception {
104         OperationalEnvironment testSubject;
105         String tenantContext = "";
106
107         // default test
108         testSubject = createTestSubject();
109         testSubject.setJsonTenantContext(tenantContext);
110     }
111
112     @Test
113     public void testGetWorkloadContext() throws Exception {
114         OperationalEnvironment testSubject;
115         String result;
116
117         // default test
118         testSubject = createTestSubject();
119         result = testSubject.getWorkloadContext();
120     }
121
122     @Test
123     public void testSetWorkloadContext() throws Exception {
124         OperationalEnvironment testSubject;
125         String workloadContext = "";
126
127         // default test
128         testSubject = createTestSubject();
129         testSubject.setJsonWorkloadContext(workloadContext);
130     }
131
132     @Test
133     public void testGetResourceVersion() throws Exception {
134         OperationalEnvironment testSubject;
135         String result;
136
137         // default test
138         testSubject = createTestSubject();
139         result = testSubject.getResourceVersion();
140     }
141
142     @Test
143     public void testSetResourceVersion() throws Exception {
144         OperationalEnvironment testSubject;
145         String resourceVersion = "";
146
147         // default test
148         testSubject = createTestSubject();
149         testSubject.setJsonResourceVersion(resourceVersion);
150     }
151
152     @Test
153     public void testGetRelationshipList() throws Exception {
154         OperationalEnvironment testSubject;
155         RelationshipList result;
156
157         // default test
158         testSubject = createTestSubject();
159         result = testSubject.getRelationshipList();
160     }
161
162     @Test
163     public void testSetRelationshipList() throws Exception {
164         OperationalEnvironment testSubject;
165         RelationshipList relationshipList = null;
166
167         // default test
168         testSubject = createTestSubject();
169         testSubject.setJsonRelationshipList(relationshipList);
170     }
171
172     @Test
173     public void testOperationalEnvironment() throws Exception {
174         OperationalEnvironment testSubject;
175         String operationalEnvironmentId = "";
176         String operationalEnvironmentName = "";
177         String operationalEnvironmentType = "";
178         String operationalEnvironmentStatus = "";
179         String tenantContext = "";
180         String workloadContext = "";
181         String resourceVersion = "";
182         RelationshipList relationshipList = null;
183
184         // default test
185         testSubject = new OperationalEnvironment(operationalEnvironmentId, operationalEnvironmentName,
186                 operationalEnvironmentType, operationalEnvironmentStatus, tenantContext, workloadContext,
187                 resourceVersion, relationshipList);
188     }
189 }