2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 package org.openecomp.mso.bpmn.infrastructure.aai;
24 import org.junit.Test;
27 public class AAIServiceInstanceTest {
29 AAIServiceInstance test = new AAIServiceInstance("serviceInstanceName","serviceType","serviceRole","orchestrationStatus","modelInvariantUuid","modelVersionId","environmentContext","workloadContext");
32 public void getServiceInstanceNameTest() throws Exception {
33 test.getServiceInstanceName();
37 public void setServiceInstanceNameTest() throws Exception {
38 test.setServiceInstanceName("serviceInstanceName");
42 public void getServiceTypeTest() throws Exception {
43 test.getServiceType();
47 public void setServiceTypeTest() throws Exception {
48 test.setServiceType("serviceType");
53 public void getServiceRoleTest() throws Exception {
54 test.getServiceRole();
58 public void setServiceRoleTest() throws Exception {
59 test.setServiceRole("serviceRole");
63 public void getOrchestrationStatusTest() throws Exception {
64 test.getOrchestrationStatus();
68 public void setOrchestrationStatusTest() throws Exception {
69 test.setOrchestrationStatus("status");
73 public void getModelInvariantUuidTest() throws Exception {
74 test.getModelInvariantUuid();
78 public void setModelInvariantUuidTest() throws Exception {
79 test.setModelInvariantUuid("uuid");
83 public void getModelVersionIdTest() throws Exception {
84 test.getModelVersionId();
88 public void setModelVersionIdTest() throws Exception {
89 test.setModelVersionId("versionId");
93 public void getEnvironmentContextTest() throws Exception {
94 test.getEnvironmentContext();
98 public void setEnvironmentContextTest() throws Exception {
99 test.setEnvironmentContext("context");
103 public void getWorkloadContextTest() throws Exception {
104 test.getWorkloadContext();
108 public void setWorkloadContextTest() throws Exception {
109 test.setWorkloadContext("context");