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