Merge "Port mirroring"
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / fe / config / ConfigurationTest.java
1 package org.openecomp.sdc.fe.config;
2
3 import java.util.Date;
4 import java.util.List;
5
6 import javax.annotation.Generated;
7
8 import org.junit.Test;
9 import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
10 import org.openecomp.sdc.fe.config.Configuration.FeMonitoringConfig;
11
12
13 public class ConfigurationTest {
14
15         private Configuration createTestSubject() {
16                 return new Configuration();
17         }
18
19         
20         @Test
21         public void testGetKibanaProtocol() throws Exception {
22                 Configuration testSubject;
23                 String result;
24
25                 // default test
26                 testSubject = createTestSubject();
27                 result = testSubject.getKibanaProtocol();
28         }
29
30         
31         @Test
32         public void testSetKibanaProtocol() throws Exception {
33                 Configuration testSubject;
34                 String kibanaProtocol = "";
35
36                 // default test
37                 testSubject = createTestSubject();
38                 testSubject.setKibanaProtocol(kibanaProtocol);
39         }
40
41         
42         @Test
43         public void testGetKibanaHost() throws Exception {
44                 Configuration testSubject;
45                 String result;
46
47                 // default test
48                 testSubject = createTestSubject();
49                 result = testSubject.getKibanaHost();
50         }
51
52         
53         @Test
54         public void testSetKibanaHost() throws Exception {
55                 Configuration testSubject;
56                 String kibanaHost = "";
57
58                 // default test
59                 testSubject = createTestSubject();
60                 testSubject.setKibanaHost(kibanaHost);
61         }
62
63         
64         @Test
65         public void testGetKibanaPort() throws Exception {
66                 Configuration testSubject;
67                 Integer result;
68
69                 // default test
70                 testSubject = createTestSubject();
71                 result = testSubject.getKibanaPort();
72         }
73
74         
75         @Test
76         public void testSetKibanaPort() throws Exception {
77                 Configuration testSubject;
78                 Integer kibanaPort = 0;
79
80                 // default test
81                 testSubject = createTestSubject();
82                 testSubject.setKibanaPort(kibanaPort);
83         }
84
85         
86         @Test
87         public void testGetSystemMonitoring() throws Exception {
88                 Configuration testSubject;
89                 FeMonitoringConfig result;
90
91                 // default test
92                 testSubject = createTestSubject();
93                 result = testSubject.getSystemMonitoring();
94         }
95
96         
97         @Test
98         public void testSetSystemMonitoring() throws Exception {
99                 Configuration testSubject;
100                 FeMonitoringConfig systemMonitoring = null;
101
102                 // default test
103                 testSubject = createTestSubject();
104                 testSubject.setSystemMonitoring(systemMonitoring);
105         }
106
107         
108         @Test
109         public void testGetHealthCheckSocketTimeoutInMs() throws Exception {
110                 Configuration testSubject;
111                 Integer result;
112
113                 // default test
114                 testSubject = createTestSubject();
115                 result = testSubject.getHealthCheckSocketTimeoutInMs();
116         }
117
118         
119         @Test
120         public void testGetHealthCheckSocketTimeoutInMs_1() throws Exception {
121                 Configuration testSubject;
122                 int defaultVal = 0;
123                 Integer result;
124
125                 // default test
126                 testSubject = createTestSubject();
127                 result = testSubject.getHealthCheckSocketTimeoutInMs(defaultVal);
128         }
129
130         
131         @Test
132         public void testSetHealthCheckSocketTimeoutInMs() throws Exception {
133                 Configuration testSubject;
134                 Integer healthCheckSocketTimeout = 0;
135
136                 // default test
137                 testSubject = createTestSubject();
138                 testSubject.setHealthCheckSocketTimeoutInMs(healthCheckSocketTimeout);
139         }
140
141         
142         @Test
143         public void testGetHealthCheckIntervalInSeconds() throws Exception {
144                 Configuration testSubject;
145                 Integer result;
146
147                 // default test
148                 testSubject = createTestSubject();
149                 result = testSubject.getHealthCheckIntervalInSeconds();
150         }
151
152         
153         @Test
154         public void testGetHealthCheckIntervalInSeconds_1() throws Exception {
155                 Configuration testSubject;
156                 int defaultVal = 0;
157                 Integer result;
158
159                 // default test
160                 testSubject = createTestSubject();
161                 result = testSubject.getHealthCheckIntervalInSeconds(defaultVal);
162         }
163
164         
165         @Test
166         public void testSetHealthCheckIntervalInSeconds() throws Exception {
167                 Configuration testSubject;
168                 Integer healthCheckInterval = 0;
169
170                 // default test
171                 testSubject = createTestSubject();
172                 testSubject.setHealthCheckIntervalInSeconds(healthCheckInterval);
173         }
174
175         
176         @Test
177         public void testGetReleased() throws Exception {
178                 Configuration testSubject;
179                 Date result;
180
181                 // default test
182                 testSubject = createTestSubject();
183                 result = testSubject.getReleased();
184         }
185
186         
187         @Test
188         public void testGetVersion() throws Exception {
189                 Configuration testSubject;
190                 String result;
191
192                 // default test
193                 testSubject = createTestSubject();
194                 result = testSubject.getVersion();
195         }
196
197         
198         @Test
199         public void testSetReleased() throws Exception {
200                 Configuration testSubject;
201                 Date released = null;
202
203                 // default test
204                 testSubject = createTestSubject();
205                 testSubject.setReleased(released);
206         }
207
208         
209         @Test
210         public void testSetVersion() throws Exception {
211                 Configuration testSubject;
212                 String version = "";
213
214                 // default test
215                 testSubject = createTestSubject();
216                 testSubject.setVersion(version);
217         }
218
219         
220         @Test
221         public void testGetConnection() throws Exception {
222                 Configuration testSubject;
223                 Connection result;
224
225                 // default test
226                 testSubject = createTestSubject();
227                 result = testSubject.getConnection();
228         }
229
230         
231         @Test
232         public void testSetConnection() throws Exception {
233                 Configuration testSubject;
234                 Connection connection = null;
235
236                 // default test
237                 testSubject = createTestSubject();
238                 testSubject.setConnection(connection);
239         }
240
241         
242         @Test
243         public void testGetProtocols() throws Exception {
244                 Configuration testSubject;
245                 List<String> result;
246
247                 // default test
248                 testSubject = createTestSubject();
249                 result = testSubject.getProtocols();
250         }
251
252         
253         @Test
254         public void testSetProtocols() throws Exception {
255                 Configuration testSubject;
256                 List<String> protocols = null;
257
258                 // default test
259                 testSubject = createTestSubject();
260                 testSubject.setProtocols(protocols);
261         }
262
263         
264         @Test
265         public void testGetBeHost() throws Exception {
266                 Configuration testSubject;
267                 String result;
268
269                 // default test
270                 testSubject = createTestSubject();
271                 result = testSubject.getBeHost();
272         }
273
274         
275         @Test
276         public void testSetBeHost() throws Exception {
277                 Configuration testSubject;
278                 String beHost = "";
279
280                 // default test
281                 testSubject = createTestSubject();
282                 testSubject.setBeHost(beHost);
283         }
284
285         
286         @Test
287         public void testGetBeHttpPort() throws Exception {
288                 Configuration testSubject;
289                 Integer result;
290
291                 // default test
292                 testSubject = createTestSubject();
293                 result = testSubject.getBeHttpPort();
294         }
295
296         
297         @Test
298         public void testSetBeHttpPort() throws Exception {
299                 Configuration testSubject;
300                 Integer beHttpPort = 0;
301
302                 // default test
303                 testSubject = createTestSubject();
304                 testSubject.setBeHttpPort(beHttpPort);
305         }
306
307         
308         @Test
309         public void testGetBeSslPort() throws Exception {
310                 Configuration testSubject;
311                 Integer result;
312
313                 // default test
314                 testSubject = createTestSubject();
315                 result = testSubject.getBeSslPort();
316         }
317
318         
319         @Test
320         public void testSetBeSslPort() throws Exception {
321                 Configuration testSubject;
322                 Integer beSslPort = 0;
323
324                 // default test
325                 testSubject = createTestSubject();
326                 testSubject.setBeSslPort(beSslPort);
327         }
328
329         
330         @Test
331         public void testGetBeContext() throws Exception {
332                 Configuration testSubject;
333                 String result;
334
335                 // default test
336                 testSubject = createTestSubject();
337                 result = testSubject.getBeContext();
338         }
339
340         
341         @Test
342         public void testSetBeContext() throws Exception {
343                 Configuration testSubject;
344                 String beContext = "";
345
346                 // default test
347                 testSubject = createTestSubject();
348                 testSubject.setBeContext(beContext);
349         }
350
351         
352         @Test
353         public void testGetBeProtocol() throws Exception {
354                 Configuration testSubject;
355                 String result;
356
357                 // default test
358                 testSubject = createTestSubject();
359                 result = testSubject.getBeProtocol();
360         }
361
362         
363         @Test
364         public void testSetBeProtocol() throws Exception {
365                 Configuration testSubject;
366                 String beProtocol = "";
367
368                 // default test
369                 testSubject = createTestSubject();
370                 testSubject.setBeProtocol(beProtocol);
371         }
372
373         
374         @Test
375         public void testGetThreadpoolSize() throws Exception {
376                 Configuration testSubject;
377                 int result;
378
379                 // default test
380                 testSubject = createTestSubject();
381                 result = testSubject.getThreadpoolSize();
382         }
383
384         
385         @Test
386         public void testSetThreadpoolSize() throws Exception {
387                 Configuration testSubject;
388                 int threadpoolSize = 0;
389
390                 // default test
391                 testSubject = createTestSubject();
392                 testSubject.setThreadpoolSize(threadpoolSize);
393         }
394
395         
396         @Test
397         public void testGetRequestTimeout() throws Exception {
398                 Configuration testSubject;
399                 int result;
400
401                 // default test
402                 testSubject = createTestSubject();
403                 result = testSubject.getRequestTimeout();
404         }
405
406         
407         @Test
408         public void testSetRequestTimeout() throws Exception {
409                 Configuration testSubject;
410                 int requestTimeout = 0;
411
412                 // default test
413                 testSubject = createTestSubject();
414                 testSubject.setRequestTimeout(requestTimeout);
415         }
416
417         
418         @Test
419         public void testGetIdentificationHeaderFields() throws Exception {
420                 Configuration testSubject;
421                 List<List<String>> result;
422
423                 // default test
424                 testSubject = createTestSubject();
425                 result = testSubject.getIdentificationHeaderFields();
426         }
427
428         
429         @Test
430         public void testSetIdentificationHeaderFields() throws Exception {
431                 Configuration testSubject;
432                 List<List<String>> identificationHeaderFields = null;
433
434                 // default test
435                 testSubject = createTestSubject();
436                 testSubject.setIdentificationHeaderFields(identificationHeaderFields);
437         }
438
439         
440         @Test
441         public void testGetOptionalHeaderFields() throws Exception {
442                 Configuration testSubject;
443                 List<List<String>> result;
444
445                 // default test
446                 testSubject = createTestSubject();
447                 result = testSubject.getOptionalHeaderFields();
448         }
449
450         
451         @Test
452         public void testSetOptionalHeaderFields() throws Exception {
453                 Configuration testSubject;
454                 List<List<String>> optionalHeaderFields = null;
455
456                 // default test
457                 testSubject = createTestSubject();
458                 testSubject.setOptionalHeaderFields(optionalHeaderFields);
459         }
460
461         
462         @Test
463         public void testGetForwardHeaderFields() throws Exception {
464                 Configuration testSubject;
465                 List<String> result;
466
467                 // default test
468                 testSubject = createTestSubject();
469                 result = testSubject.getForwardHeaderFields();
470         }
471
472         
473         @Test
474         public void testSetForwardHeaderFields() throws Exception {
475                 Configuration testSubject;
476                 List<String> forwardHeaderFields = null;
477
478                 // default test
479                 testSubject = createTestSubject();
480                 testSubject.setForwardHeaderFields(forwardHeaderFields);
481         }
482
483         
484         @Test
485         public void testGetFeFqdn() throws Exception {
486                 Configuration testSubject;
487                 String result;
488
489                 // default test
490                 testSubject = createTestSubject();
491                 result = testSubject.getFeFqdn();
492         }
493
494         
495         @Test
496         public void testSetFeFqdn() throws Exception {
497                 Configuration testSubject;
498                 String feFqdn = "";
499
500                 // default test
501                 testSubject = createTestSubject();
502                 testSubject.setFeFqdn(feFqdn);
503         }
504
505         
506         @Test
507         public void testGetOnboardingForwardContext() throws Exception {
508                 Configuration testSubject;
509                 String result;
510
511                 // default test
512                 testSubject = createTestSubject();
513                 result = testSubject.getOnboardingForwardContext();
514         }
515
516         
517         @Test
518         public void testSetOnboardingForwardContext() throws Exception {
519                 Configuration testSubject;
520                 String onboardingForwardContext = "";
521
522                 // default test
523                 testSubject = createTestSubject();
524                 testSubject.setOnboardingForwardContext(onboardingForwardContext);
525         }
526
527         
528
529
530         
531
532
533         
534         @Test
535         public void testToString() throws Exception {
536                 Configuration testSubject;
537                 String result;
538
539                 // default test
540                 testSubject = createTestSubject();
541                 result = testSubject.toString();
542         }
543 }