Upgrade sonar plugin
[vid.git] / vid-app-common / src / test / java / org / openecomp / vid / aai / model / ServiceRelationshipsTest.java
1 package org.openecomp.vid.aai.model;
2
3 import org.junit.Test;
4
5
6 public class ServiceRelationshipsTest {
7
8         private ServiceRelationships createTestSubject() {
9                 return new ServiceRelationships();
10         }
11
12
13         @Test
14         public void testGetServiceInstanceId() throws Exception {
15                 ServiceRelationships testSubject;
16                 String result;
17
18                 // default test
19                 testSubject = createTestSubject();
20                 result = testSubject.getServiceInstanceId();
21         }
22
23
24         @Test
25         public void testSetServiceInstanceId() throws Exception {
26                 ServiceRelationships testSubject;
27                 String serviceInstanceId = "";
28
29                 // default test
30                 testSubject = createTestSubject();
31                 testSubject.setServiceInstanceId(serviceInstanceId);
32         }
33
34
35         @Test
36         public void testGetServiceInstanceName() throws Exception {
37                 ServiceRelationships testSubject;
38                 String result;
39
40                 // default test
41                 testSubject = createTestSubject();
42                 result = testSubject.getServiceInstanceName();
43         }
44
45
46         @Test
47         public void testSetServiceInstanceName() throws Exception {
48                 ServiceRelationships testSubject;
49                 String serviceInstanceName = "";
50
51                 // default test
52                 testSubject = createTestSubject();
53                 testSubject.setServiceInstanceName(serviceInstanceName);
54         }
55
56
57         @Test
58         public void testGetModelInvariantId() throws Exception {
59                 ServiceRelationships testSubject;
60                 String result;
61
62                 // default test
63                 testSubject = createTestSubject();
64                 result = testSubject.getModelInvariantId();
65         }
66
67
68         @Test
69         public void testSetModelInvariantId() throws Exception {
70                 ServiceRelationships testSubject;
71                 String modelInvariantId = "";
72
73                 // default test
74                 testSubject = createTestSubject();
75                 testSubject.setModelInvariantId(modelInvariantId);
76         }
77
78
79         @Test
80         public void testGetModelVersionId() throws Exception {
81                 ServiceRelationships testSubject;
82                 String result;
83
84                 // default test
85                 testSubject = createTestSubject();
86                 result = testSubject.getModelVersionId();
87         }
88
89
90         @Test
91         public void testSetModelVersionId() throws Exception {
92                 ServiceRelationships testSubject;
93                 String modelVersionId = "";
94
95                 // default test
96                 testSubject = createTestSubject();
97                 testSubject.setModelVersionId(modelVersionId);
98         }
99
100
101         @Test
102         public void testGetResourceVersion() throws Exception {
103                 ServiceRelationships testSubject;
104                 String result;
105
106                 // default test
107                 testSubject = createTestSubject();
108                 result = testSubject.getResourceVersion();
109         }
110
111
112         @Test
113         public void testSetResourceVersion() throws Exception {
114                 ServiceRelationships testSubject;
115                 String resourceVersion = "";
116
117                 // default test
118                 testSubject = createTestSubject();
119                 testSubject.setResourceVersion(resourceVersion);
120         }
121
122
123         @Test
124         public void testGetOrchestrationStatus() throws Exception {
125                 ServiceRelationships testSubject;
126                 String result;
127
128                 // default test
129                 testSubject = createTestSubject();
130                 result = testSubject.getOrchestrationStatus();
131         }
132
133
134         @Test
135         public void testSetOrchestrationStatus() throws Exception {
136                 ServiceRelationships testSubject;
137                 String orchestrationStatus = "";
138
139                 // default test
140                 testSubject = createTestSubject();
141                 testSubject.setOrchestrationStatus(orchestrationStatus);
142         }
143
144
145         @Test
146         public void testGetRelationshipList() throws Exception {
147                 ServiceRelationships testSubject;
148                 RelationshipList result;
149
150                 // default test
151                 testSubject = createTestSubject();
152                 result = testSubject.getRelationshipList();
153         }
154
155
156         @Test
157         public void testSetRelationshipList() throws Exception {
158                 ServiceRelationships testSubject;
159                 RelationshipList relationshipList = null;
160
161                 // default test
162                 testSubject = createTestSubject();
163                 testSubject.setRelationshipList(relationshipList);
164         }
165 }