2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 10:49:18 GMT 2016
6 package org.openecomp.mso.adapters.vnf.async.client;
9 import static org.junit.Assert.*;
11 import java.util.List;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
17 public class QueryVnfNotificationESTest extends QueryVnfNotificationESTestscaffolding {
20 public void test00() throws Throwable {
21 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
22 Boolean boolean0 = Boolean.valueOf("`97");
23 queryVnfNotification0.setVnfExists(boolean0);
24 Boolean boolean1 = queryVnfNotification0.isVnfExists();
25 assertFalse(boolean1);
29 public void test01() throws Throwable {
30 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
31 queryVnfNotification0.completed = true;
32 boolean boolean0 = queryVnfNotification0.isCompleted();
37 public void test02() throws Throwable {
38 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
39 queryVnfNotification0.setVnfId("");
40 String string0 = queryVnfNotification0.getVnfId();
41 assertEquals("", string0);
45 public void test03() throws Throwable {
46 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
47 VnfStatus vnfStatus0 = VnfStatus.FAILED;
48 queryVnfNotification0.status = vnfStatus0;
49 VnfStatus vnfStatus1 = queryVnfNotification0.getStatus();
50 assertSame(vnfStatus1, vnfStatus0);
54 public void test04() throws Throwable {
55 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
56 QueryVnfNotification.Outputs queryVnfNotification_Outputs0 = new QueryVnfNotification.Outputs();
57 queryVnfNotification0.setOutputs(queryVnfNotification_Outputs0);
58 QueryVnfNotification.Outputs queryVnfNotification_Outputs1 = queryVnfNotification0.getOutputs();
59 assertSame(queryVnfNotification_Outputs1, queryVnfNotification_Outputs0);
63 public void test05() throws Throwable {
64 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
65 queryVnfNotification0.messageId = "FAILED";
66 String string0 = queryVnfNotification0.getMessageId();
67 assertEquals("FAILED", string0);
71 public void test06() throws Throwable {
72 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
73 MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.INTERNAL;
74 queryVnfNotification0.setException(msoExceptionCategory0);
75 MsoExceptionCategory msoExceptionCategory1 = queryVnfNotification0.getException();
76 assertEquals(MsoExceptionCategory.INTERNAL, msoExceptionCategory1);
80 public void test07() throws Throwable {
81 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
82 queryVnfNotification0.errorMessage = "Jk{*#{
\7f!k";
83 String string0 = queryVnfNotification0.getErrorMessage();
84 assertEquals("Jk{*#{
\7f!k", string0);
88 public void test08() throws Throwable {
89 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
90 String string0 = queryVnfNotification0.getMessageId();
95 public void test09() throws Throwable {
96 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
97 queryVnfNotification0.setMessageId("");
98 String string0 = queryVnfNotification0.getMessageId();
99 assertEquals("", string0);
102 @Test(timeout = 4000)
103 public void test10() throws Throwable {
104 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
105 queryVnfNotification0.setCompleted(true);
106 assertTrue(queryVnfNotification0.isCompleted());
109 @Test(timeout = 4000)
110 public void test11() throws Throwable {
111 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
112 queryVnfNotification0.setVnfId("M:E`?t");
113 String string0 = queryVnfNotification0.getVnfId();
114 assertEquals("M:E`?t", string0);
117 @Test(timeout = 4000)
118 public void test12() throws Throwable {
119 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
120 String string0 = queryVnfNotification0.getVnfId();
124 @Test(timeout = 4000)
125 public void test13() throws Throwable {
126 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
127 boolean boolean0 = queryVnfNotification0.isCompleted();
128 assertFalse(boolean0);
131 @Test(timeout = 4000)
132 public void test14() throws Throwable {
133 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
134 queryVnfNotification0.getStatus();
137 @Test(timeout = 4000)
138 public void test15() throws Throwable {
139 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
140 queryVnfNotification0.setErrorMessage("");
141 String string0 = queryVnfNotification0.getErrorMessage();
142 assertEquals("", string0);
145 @Test(timeout = 4000)
146 public void test16() throws Throwable {
147 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
148 VnfStatus vnfStatus0 = VnfStatus.NOTFOUND;
149 queryVnfNotification0.setStatus(vnfStatus0);
150 assertFalse(queryVnfNotification0.isCompleted());
153 @Test(timeout = 4000)
154 public void test17() throws Throwable {
155 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
156 Boolean boolean0 = queryVnfNotification0.isVnfExists();
157 assertNull(boolean0);
160 @Test(timeout = 4000)
161 public void test18() throws Throwable {
162 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
163 queryVnfNotification0.getException();
166 @Test(timeout = 4000)
167 public void test19() throws Throwable {
168 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
169 QueryVnfNotification.Outputs queryVnfNotification_Outputs0 = queryVnfNotification0.getOutputs();
170 assertNull(queryVnfNotification_Outputs0);
173 @Test(timeout = 4000)
174 public void test20() throws Throwable {
175 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
176 String string0 = queryVnfNotification0.getErrorMessage();
180 @Test(timeout = 4000)
181 public void test21() throws Throwable {
182 QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
183 Boolean boolean0 = new Boolean(true);
184 queryVnfNotification0.setVnfExists(boolean0);
185 Boolean boolean1 = queryVnfNotification0.isVnfExists();
186 assertTrue(boolean1);
189 @Test(timeout = 4000)
190 public void test22() throws Throwable {
191 QueryVnfNotification.Outputs queryVnfNotification_Outputs0 = new QueryVnfNotification.Outputs();
192 List<QueryVnfNotification.Outputs.Entry> list0 = queryVnfNotification_Outputs0.getEntry();
193 List<QueryVnfNotification.Outputs.Entry> list1 = queryVnfNotification_Outputs0.getEntry();
194 assertSame(list1, list0);
197 @Test(timeout = 4000)
198 public void test23() throws Throwable {
199 QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
200 String string0 = queryVnfNotification_Outputs_Entry0.getKey();
204 @Test(timeout = 4000)
205 public void test24() throws Throwable {
206 QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
207 queryVnfNotification_Outputs_Entry0.setValue("{[VrUC");
208 assertNull(queryVnfNotification_Outputs_Entry0.getKey());
211 @Test(timeout = 4000)
212 public void test25() throws Throwable {
213 QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
214 String string0 = queryVnfNotification_Outputs_Entry0.getValue();
218 @Test(timeout = 4000)
219 public void test26() throws Throwable {
220 QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
221 queryVnfNotification_Outputs_Entry0.setKey("");
222 assertNull(queryVnfNotification_Outputs_Entry0.getValue());