Replaced all tabs with spaces in java and pom.xml
[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.AAIServiceInstanceBuilder()
30             .setServiceInstanceName("serviceInstanceName").setServiceType("serviceType").setServiceRole("serviceRole")
31             .setOrchestrationStatus("orchestrationStatus").setModelInvariantUuid("modelInvariantUuid")
32             .setModelVersionId("modelVersionId").setEnvironmentContext("environmentContext")
33             .setWorkloadContext("workloadContext").createAAIServiceInstance();
34
35     @Test
36     public void getServiceInstanceNameTest() throws Exception {
37         test.getServiceInstanceName();
38     }
39
40     @Test
41     public void setServiceInstanceNameTest() throws Exception {
42         test.setServiceInstanceName("serviceInstanceName");
43     }
44
45     @Test
46     public void getServiceTypeTest() throws Exception {
47         test.getServiceType();
48     }
49
50     @Test
51     public void setServiceTypeTest() throws Exception {
52         test.setServiceType("serviceType");
53     }
54
55     @Test
56     public void getServiceRoleTest() throws Exception {
57         test.getServiceRole();
58     }
59
60     @Test
61     public void setServiceRoleTest() throws Exception {
62         test.setServiceRole("serviceRole");
63     }
64
65     @Test
66     public void getOrchestrationStatusTest() throws Exception {
67         test.getOrchestrationStatus();
68     }
69
70     @Test
71     public void setOrchestrationStatusTest() throws Exception {
72         test.setOrchestrationStatus("status");
73     }
74
75     @Test
76     public void getModelInvariantUuidTest() throws Exception {
77         test.getModelInvariantUuid();
78     }
79
80     @Test
81     public void setModelInvariantUuidTest() throws Exception {
82         test.setModelInvariantUuid("uuid");
83     }
84
85     @Test
86     public void getModelVersionIdTest() throws Exception {
87         test.getModelVersionId();
88     }
89
90     @Test
91     public void setModelVersionIdTest() throws Exception {
92         test.setModelVersionId("versionId");
93     }
94
95     @Test
96     public void getEnvironmentContextTest() throws Exception {
97         test.getEnvironmentContext();
98     }
99
100     @Test
101     public void setEnvironmentContextTest() throws Exception {
102         test.setEnvironmentContext("context");
103     }
104
105     @Test
106     public void getWorkloadContextTest() throws Exception {
107         test.getWorkloadContext();
108     }
109
110     @Test
111     public void setWorkloadContextTest() throws Exception {
112         test.setWorkloadContext("context");
113     }
114
115 }
116
117