2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2018 Huawei Technologies Co., Ltd. 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.openecomp.mso.openstack.beans;
22 import org.junit.Test;
23 import org.openecomp.mso.entity.MsoRequest;
25 public class VnfRollbackTest {
27 VnfRollback vnfRollback = new VnfRollback();
30 public void getVnfId() throws Exception {
31 vnfRollback.getVnfId();
35 public void setVnfId() throws Exception {
36 vnfRollback.setVnfId("test");
40 public void getTenantId() throws Exception {
41 vnfRollback.getTenantId();
45 public void setTenantId() throws Exception {
46 vnfRollback.setTenantId("test");
50 public void getCloudSiteId() throws Exception {
51 vnfRollback.getCloudSiteId();
55 public void setCloudSiteId() throws Exception {
56 vnfRollback.setCloudSiteId("test");
60 public void getTenantCreated() throws Exception {
61 vnfRollback.getTenantCreated();
65 public void setTenantCreated() throws Exception {
66 vnfRollback.setTenantCreated(true);
70 public void getVnfCreated() throws Exception {
71 vnfRollback.getVnfCreated();
75 public void setVnfCreated() throws Exception {
76 vnfRollback.setVnfCreated(true);
80 public void getMsoRequest() throws Exception {
81 vnfRollback.getMsoRequest();
85 public void setMsoRequest() throws Exception {
86 vnfRollback.setMsoRequest(new MsoRequest());
90 public void getVolumeGroupName() throws Exception {
91 vnfRollback.getVolumeGroupName();
95 public void setVolumeGroupName() throws Exception {
96 vnfRollback.setVolumeGroupName("test");
100 public void getVolumeGroupId() throws Exception {
101 vnfRollback.getVolumeGroupId();
105 public void setVolumeGroupId() throws Exception {
106 vnfRollback.setVolumeGroupId("test");
110 public void getRequestType() throws Exception {
111 vnfRollback.getRequestType();
115 public void setRequestType() throws Exception {
116 vnfRollback.setRequestType("test");
120 public void getVolumeGroupHeatStackId() throws Exception {
121 vnfRollback.getVolumeGroupHeatStackId();
125 public void setVolumeGroupHeatStackId() throws Exception {
126 vnfRollback.setVolumeGroupHeatStackId("test");
130 public void getBaseGroupHeatStackId() throws Exception {
131 vnfRollback.getBaseGroupHeatStackId();
135 public void setBaseGroupHeatStackId() throws Exception {
136 vnfRollback.setBaseGroupHeatStackId("test");
140 public void isBase() throws Exception {
141 vnfRollback.isBase();
145 public void setIsBase() throws Exception {
146 vnfRollback.setIsBase(true);
150 public void getVfModuleStackId() throws Exception {
151 vnfRollback.getVfModuleStackId();
155 public void setVfModuleStackId() throws Exception {
156 vnfRollback.setVfModuleStackId("test");
160 public void getModelCustomizationUuid() throws Exception {
161 vnfRollback.getModelCustomizationUuid();
165 public void setModelCustomizationUuid() throws Exception {
166 vnfRollback.setModelCustomizationUuid("test");
170 public void getMode() throws Exception {
171 vnfRollback.getMode();
175 public void setMode() throws Exception {
176 vnfRollback.setMode("test");