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=========================================================
20 package org.onap.so.apihandler.camundabeans;
22 import org.junit.Test;
24 public class BpmnRequestTest {
26 BpmnRequest bpmnRequest = new BpmnRequest();
29 public void getHostTest() throws Exception {
30 bpmnRequest.getHost();
34 public void setHostTest() throws Exception {
35 bpmnRequest.setHost(new CamundaInput());
39 public void getRequestIdTest() throws Exception {
40 bpmnRequest.getRequestId();
44 public void setRequestIdTest() throws Exception {
45 bpmnRequest.setRequestId(new CamundaInput());
49 public void getIsBaseVfModuleTest() throws Exception {
50 bpmnRequest.getIsBaseVfModule();
54 public void setIsBaseVfModuleTest() throws Exception {
55 bpmnRequest.setIsBaseVfModule(new CamundaBooleanInput());
59 public void getRecipeTimeoutTest() throws Exception {
60 bpmnRequest.getRecipeTimeout();
64 public void setRecipeTimeoutTest() throws Exception {
65 bpmnRequest.setRecipeTimeout(new CamundaIntegerInput());
69 public void getRequestActionTest() throws Exception {
70 bpmnRequest.getRequestAction();
74 public void setRequestActionTest() throws Exception {
75 bpmnRequest.setRequestAction(new CamundaInput());
79 public void getServiceInstanceIdTest() throws Exception {
80 bpmnRequest.getServiceInstanceId();
84 public void setServiceInstanceIdTest() throws Exception {
85 bpmnRequest.setServiceInstanceId(new CamundaInput());
89 public void getVnfIdTest() throws Exception {
90 bpmnRequest.getVnfId();
94 public void setVnfIdTest() throws Exception {
95 bpmnRequest.setVnfId(new CamundaInput());
99 public void getVfModuleIdTest() throws Exception {
100 bpmnRequest.getVnfId();
104 public void setVfModuleIdTest() throws Exception {
105 bpmnRequest.setVfModuleId(new CamundaInput());
109 public void getVolumeGroupIdTest() throws Exception {
110 bpmnRequest.getVolumeGroupId();
114 public void setVolumeGroupIdTest() throws Exception {
115 bpmnRequest.setVolumeGroupId(new CamundaInput());
119 public void getNetworkIdTest() throws Exception {
120 bpmnRequest.getNetworkId();
124 public void setNetworkIdTest() throws Exception {
125 bpmnRequest.setNetworkId(new CamundaInput());
129 public void getServiceTypeTest() throws Exception {
130 bpmnRequest.getServiceType();
134 public void setServiceTypeTest() throws Exception {
135 bpmnRequest.setServiceType(new CamundaInput());
139 public void getVnfTypeTest() throws Exception {
140 bpmnRequest.getVnfType();
144 public void setVnfTypeTest() throws Exception {
145 bpmnRequest.setVnfType(new CamundaInput());
149 public void getVfModuleTypeTest() throws Exception {
150 bpmnRequest.getVfModuleType();
154 public void setVfModuleTypeTest() throws Exception {
155 bpmnRequest.setVfModuleType(new CamundaInput());
159 public void getNetworkTypeTest() throws Exception {
160 bpmnRequest.getNetworkType();
164 public void setNetworkTypeTest() throws Exception {
165 bpmnRequest.setNetworkType(new CamundaInput());
169 public void getRequestDetailsTest() throws Exception {
170 bpmnRequest.getRequestDetails();
174 public void setRequestDetailsTest() throws Exception {
175 bpmnRequest.setRequestDetails(new CamundaInput());