2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 09:18:37 GMT 2016
6 package org.openecomp.mso.adapters.vnfrest;
9 import static org.junit.Assert.*;
10 import static org.evosuite.runtime.EvoAssertions.*;
12 import org.openecomp.mso.entity.MsoRequest;
13 import org.evosuite.runtime.EvoRunner;
14 import org.evosuite.runtime.EvoRunnerParameters;
15 import org.junit.runner.RunWith;
17 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
18 public class VolumeGroupRollbackESTest extends VolumeGroupRollbackESTestscaffolding {
21 public void test00() throws Throwable {
22 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
23 volumeGroupRollback0.setVolumeGroupStackId("F");
24 volumeGroupRollback0.getVolumeGroupStackId();
25 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
29 public void test01() throws Throwable {
30 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
31 volumeGroupRollback0.setVolumeGroupId("?4I<}KM
\7f{|IP");
32 volumeGroupRollback0.getVolumeGroupId();
33 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
37 public void test02() throws Throwable {
38 MsoRequest msoRequest0 = new MsoRequest("", "");
39 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback("", "", false, "", "", msoRequest0, "");
40 volumeGroupRollback0.getVolumeGroupId();
41 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
45 public void test03() throws Throwable {
46 MsoRequest msoRequest0 = new MsoRequest();
47 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback("q\"(B{+Ht7bO5", "q\"(B{+Ht7bO5", false, "q\"(B{+Ht7bO5", "q\"(B{+Ht7bO5", msoRequest0, "q\"(B{+Ht7bO5");
48 volumeGroupRollback0.getTenantId();
49 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
53 public void test04() throws Throwable {
54 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
55 volumeGroupRollback0.setTenantId("");
56 volumeGroupRollback0.getTenantId();
57 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
61 public void test05() throws Throwable {
62 MsoRequest msoRequest0 = new MsoRequest();
63 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback("", "", true, "", "", msoRequest0, "");
64 volumeGroupRollback0.getMsoRequest();
65 assertTrue(volumeGroupRollback0.isVolumeGroupCreated());
69 public void test06() throws Throwable {
70 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
71 volumeGroupRollback0.setMessageId("~O0>CjU'2WS");
72 volumeGroupRollback0.getMessageId();
73 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
77 public void test07() throws Throwable {
78 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
79 volumeGroupRollback0.setMessageId("");
80 volumeGroupRollback0.getMessageId();
81 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
85 public void test08() throws Throwable {
86 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
87 volumeGroupRollback0.setCloudSiteId("F");
88 volumeGroupRollback0.getCloudSiteId();
89 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
93 public void test09() throws Throwable {
94 VolumeGroupRollback volumeGroupRollback0 = null;
96 volumeGroupRollback0 = new VolumeGroupRollback((VolumeGroupRollback) null, "", "");
97 fail("Expecting exception: NullPointerException");
99 } catch(NullPointerException e) {
101 // no message in exception (getMessage() returned null)
103 verifyException("org.openecomp.mso.adapters.vnfrest.VolumeGroupRollback", e);
107 @Test(timeout = 4000)
108 public void test10() throws Throwable {
109 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
110 volumeGroupRollback0.getMsoRequest();
111 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
114 @Test(timeout = 4000)
115 public void test11() throws Throwable {
116 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
117 boolean boolean0 = volumeGroupRollback0.isVolumeGroupCreated();
118 assertFalse(boolean0);
121 @Test(timeout = 4000)
122 public void test12() throws Throwable {
123 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
124 volumeGroupRollback0.getVolumeGroupId();
125 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
128 @Test(timeout = 4000)
129 public void test13() throws Throwable {
130 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
131 volumeGroupRollback0.getTenantId();
132 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
135 @Test(timeout = 4000)
136 public void test14() throws Throwable {
137 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
138 volumeGroupRollback0.getCloudSiteId();
139 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
142 @Test(timeout = 4000)
143 public void test15() throws Throwable {
144 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
145 volumeGroupRollback0.getMessageId();
146 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
149 @Test(timeout = 4000)
150 public void test16() throws Throwable {
151 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
152 volumeGroupRollback0.setCloudSiteId("");
153 volumeGroupRollback0.getCloudSiteId();
154 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
157 @Test(timeout = 4000)
158 public void test17() throws Throwable {
159 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
160 volumeGroupRollback0.getVolumeGroupStackId();
161 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
164 @Test(timeout = 4000)
165 public void test18() throws Throwable {
166 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
167 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
169 volumeGroupRollback0.setVolumeGroupCreated(true);
170 boolean boolean0 = volumeGroupRollback0.isVolumeGroupCreated();
171 assertTrue(boolean0);
174 @Test(timeout = 4000)
175 public void test19() throws Throwable {
176 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
177 volumeGroupRollback0.setVolumeGroupStackId("");
178 volumeGroupRollback0.getVolumeGroupStackId();
179 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
182 @Test(timeout = 4000)
183 public void test20() throws Throwable {
184 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
185 MsoRequest msoRequest0 = new MsoRequest();
186 volumeGroupRollback0.setMsoRequest(msoRequest0);
187 assertFalse(volumeGroupRollback0.isVolumeGroupCreated());
190 @Test(timeout = 4000)
191 public void test21() throws Throwable {
192 VolumeGroupRollback volumeGroupRollback0 = new VolumeGroupRollback();
193 VolumeGroupRollback volumeGroupRollback1 = new VolumeGroupRollback(volumeGroupRollback0, "", "HC1I]xTWKN0*icHc]");
194 assertEquals("", volumeGroupRollback1.getVolumeGroupStackId());
195 assertFalse(volumeGroupRollback1.isVolumeGroupCreated());
196 assertEquals("HC1I]xTWKN0*icHc]", volumeGroupRollback1.getMessageId());