Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / changeManagement / CloudConfigurationTest.java
1 package org.onap.vid.changeManagement;
2
3 import java.util.Map;
4
5 import org.junit.Test;
6
7 public class CloudConfigurationTest {
8
9     private CloudConfiguration createTestSubject() {
10         return new CloudConfiguration();
11     }
12
13     @Test
14     public void testGetLcpCloudRegionId() throws Exception {
15         CloudConfiguration testSubject;
16         String result;
17
18         // default test
19         testSubject = createTestSubject();
20         result = testSubject.getLcpCloudRegionId();
21     }
22
23     @Test
24     public void testSetLcpCloudRegionId() throws Exception {
25         CloudConfiguration testSubject;
26         String lcpCloudRegionId = "";
27
28         // default test
29         testSubject = createTestSubject();
30         testSubject.setLcpCloudRegionId(lcpCloudRegionId);
31     }
32
33     @Test
34     public void testGetTenantId() throws Exception {
35         CloudConfiguration testSubject;
36         String result;
37
38         // default test
39         testSubject = createTestSubject();
40         result = testSubject.getTenantId();
41     }
42
43     @Test
44     public void testSetTenantId() throws Exception {
45         CloudConfiguration testSubject;
46         String tenantId = "";
47
48         // default test
49         testSubject = createTestSubject();
50         testSubject.setTenantId(tenantId);
51     }
52
53     @Test
54     public void testGetAdditionalProperties() throws Exception {
55         CloudConfiguration testSubject;
56         Map<String, Object> result;
57
58         // default test
59         testSubject = createTestSubject();
60         result = testSubject.getAdditionalProperties();
61     }
62
63     @Test
64     public void testSetAdditionalProperty() throws Exception {
65         CloudConfiguration testSubject;
66         String name = "";
67         Object value = null;
68
69         // default test
70         testSubject = createTestSubject();
71         testSubject.setAdditionalProperty(name, value);
72     }
73 }