e17d3f8fb5cd9206f10dd5cfec3c4ab30355946e
[so.git] / bpmn / so-bpmn-infrastructure-common / src / test / java / org / onap / so / bpmn / infrastructure / aai / AAIServiceInstanceTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2018 Huawei Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21
22 package org.onap.so.bpmn.infrastructure.aai;
23
24 import org.junit.Test;
25
26
27 public class AAIServiceInstanceTest {
28
29     AAIServiceInstance test = new AAIServiceInstance("serviceInstanceName","serviceType","serviceRole","orchestrationStatus","modelInvariantUuid","modelVersionId","environmentContext","workloadContext");
30
31     @Test
32     public void getServiceInstanceNameTest() throws Exception {
33         test.getServiceInstanceName();
34     }
35
36     @Test
37     public void setServiceInstanceNameTest() throws Exception {
38         test.setServiceInstanceName("serviceInstanceName");
39     }
40
41     @Test
42     public void getServiceTypeTest() throws Exception {
43         test.getServiceType();
44     }
45
46     @Test
47     public void setServiceTypeTest() throws Exception {
48         test.setServiceType("serviceType");
49     }
50
51
52     @Test
53     public void getServiceRoleTest() throws Exception {
54         test.getServiceRole();
55     }
56
57     @Test
58     public void setServiceRoleTest() throws Exception {
59         test.setServiceRole("serviceRole");
60     }
61
62     @Test
63     public void getOrchestrationStatusTest() throws Exception {
64         test.getOrchestrationStatus();
65     }
66
67     @Test
68     public void setOrchestrationStatusTest() throws Exception {
69         test.setOrchestrationStatus("status");
70     }
71
72     @Test
73     public void getModelInvariantUuidTest() throws Exception {
74         test.getModelInvariantUuid();
75     }
76
77     @Test
78     public void setModelInvariantUuidTest() throws Exception {
79         test.setModelInvariantUuid("uuid");
80     }
81
82     @Test
83     public void getModelVersionIdTest() throws Exception {
84         test.getModelVersionId();
85     }
86
87     @Test
88     public void setModelVersionIdTest() throws Exception {
89         test.setModelVersionId("versionId");
90     }
91
92     @Test
93     public void getEnvironmentContextTest() throws Exception {
94         test.getEnvironmentContext();
95     }
96
97     @Test
98     public void setEnvironmentContextTest() throws Exception {
99         test.setEnvironmentContext("context");
100     }
101
102     @Test
103     public void getWorkloadContextTest() throws Exception {
104         test.getWorkloadContext();
105     }
106
107     @Test
108     public void setWorkloadContextTest() throws Exception {
109         test.setWorkloadContext("context");
110     }
111
112 }
113
114