Raise JUnit coverage asdctool
[sdc.git] / asdctool / src / test / java / org / openecomp / sdc / asdctool / simulator / tenant / OperationalEnvironmentTest.java
1 package org.openecomp.sdc.asdctool.simulator.tenant;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.datatypes.enums.EnvironmentStatusEnum;
5
6 public class OperationalEnvironmentTest {
7
8         private OperationalEnvironment createTestSubject() {
9                 return new OperationalEnvironment();
10         }
11
12         @Test
13         public void testGetLastModified() throws Exception {
14                 OperationalEnvironment testSubject;
15                 String result;
16
17                 // default test
18                 testSubject = createTestSubject();
19                 result = testSubject.getLastModified();
20         }
21
22         @Test
23         public void testSetLastModified() throws Exception {
24                 OperationalEnvironment testSubject;
25                 String lastModified = "";
26
27                 // default test
28                 testSubject = createTestSubject();
29                 testSubject.setLastModified(lastModified);
30         }
31
32         @Test
33         public void testGetEnvironmentId() throws Exception {
34                 OperationalEnvironment testSubject;
35                 String result;
36
37                 // default test
38                 testSubject = createTestSubject();
39                 result = testSubject.getEnvironmentId();
40         }
41
42         @Test
43         public void testSetEnvironmentId() throws Exception {
44                 OperationalEnvironment testSubject;
45                 String environmentId = "";
46
47                 // default test
48                 testSubject = createTestSubject();
49                 testSubject.setEnvironmentId(environmentId);
50         }
51
52         @Test
53         public void testGetTenant() throws Exception {
54                 OperationalEnvironment testSubject;
55                 String result;
56
57                 // default test
58                 testSubject = createTestSubject();
59                 result = testSubject.getTenant();
60         }
61
62         @Test
63         public void testSetTenant() throws Exception {
64                 OperationalEnvironment testSubject;
65                 String tenant = "";
66
67                 // default test
68                 testSubject = createTestSubject();
69                 testSubject.setTenant(tenant);
70         }
71
72         @Test
73         public void testGetIsProduction() throws Exception {
74                 OperationalEnvironment testSubject;
75                 Boolean result;
76
77                 // default test
78                 testSubject = createTestSubject();
79                 result = testSubject.getIsProduction();
80         }
81
82         @Test
83         public void testSetIsProduction() throws Exception {
84                 OperationalEnvironment testSubject;
85                 Boolean production = null;
86
87                 // default test
88                 testSubject = createTestSubject();
89                 testSubject.setIsProduction(production);
90         }
91
92         @Test
93         public void testGetEcompWorkloadContext() throws Exception {
94                 OperationalEnvironment testSubject;
95                 String result;
96
97                 // default test
98                 testSubject = createTestSubject();
99                 result = testSubject.getEcompWorkloadContext();
100         }
101
102         @Test
103         public void testSetEcompWorkloadContext() throws Exception {
104                 OperationalEnvironment testSubject;
105                 String ecompWorkloadContext = "";
106
107                 // default test
108                 testSubject = createTestSubject();
109                 testSubject.setEcompWorkloadContext(ecompWorkloadContext);
110         }
111
112         @Test
113         public void testGetStatus() throws Exception {
114                 OperationalEnvironment testSubject;
115                 String result;
116
117                 // default test
118                 testSubject = createTestSubject();
119                 result = testSubject.getStatus();
120         }
121
122         @Test
123         public void testSetStatus() throws Exception {
124                 OperationalEnvironment testSubject;
125                 String status = "";
126
127                 // default test
128                 testSubject = createTestSubject();
129                 testSubject.setStatus(status);
130         }
131
132         @Test
133         public void testSetStatus_1() throws Exception {
134                 OperationalEnvironment testSubject;
135
136                 // default test
137                 testSubject = createTestSubject();
138                 testSubject.setStatus(EnvironmentStatusEnum.COMPLETED);
139         }
140
141         @Test
142         public void testGetDmaapUebAddress() throws Exception {
143                 OperationalEnvironment testSubject;
144                 String result;
145
146                 // default test
147                 testSubject = createTestSubject();
148                 result = testSubject.getDmaapUebAddress();
149         }
150
151         @Test
152         public void testSetDmaapUebAddress() throws Exception {
153                 OperationalEnvironment testSubject;
154                 String dmaapUebAddress = "";
155
156                 // default test
157                 testSubject = createTestSubject();
158                 testSubject.setDmaapUebAddress(dmaapUebAddress);
159         }
160
161         @Test
162         public void testGetUebApikey() throws Exception {
163                 OperationalEnvironment testSubject;
164                 String result;
165
166                 // default test
167                 testSubject = createTestSubject();
168                 result = testSubject.getUebApikey();
169         }
170
171         @Test
172         public void testSetUebApikey() throws Exception {
173                 OperationalEnvironment testSubject;
174                 String uebApikey = "";
175
176                 // default test
177                 testSubject = createTestSubject();
178                 testSubject.setUebApikey(uebApikey);
179         }
180
181         @Test
182         public void testGetUebSecretKey() throws Exception {
183                 OperationalEnvironment testSubject;
184                 String result;
185
186                 // default test
187                 testSubject = createTestSubject();
188                 result = testSubject.getUebSecretKey();
189         }
190
191         @Test
192         public void testSetUebSecretKey() throws Exception {
193                 OperationalEnvironment testSubject;
194                 String uebSecretKey = "";
195
196                 // default test
197                 testSubject = createTestSubject();
198                 testSubject.setUebSecretKey(uebSecretKey);
199         }
200 }