Initial OpenECOMP MSO commit
[so.git] / adapters / mso-vnf-adapter-async-client / src / test / java / org / openecomp / mso / adapters / vnf / async / client / QueryVnfNotificationESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 10:49:18 GMT 2016
4  */
5
6 package org.openecomp.mso.adapters.vnf.async.client;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10
11 import java.util.List;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
15
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
17 public class QueryVnfNotificationESTest extends QueryVnfNotificationESTestscaffolding {
18
19   @Test(timeout = 4000)
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);
26   }
27
28   @Test(timeout = 4000)
29   public void test01()  throws Throwable  {
30       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
31       queryVnfNotification0.completed = true;
32       boolean boolean0 = queryVnfNotification0.isCompleted();
33       assertTrue(boolean0);
34   }
35
36   @Test(timeout = 4000)
37   public void test02()  throws Throwable  {
38       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
39       queryVnfNotification0.setVnfId("");
40       String string0 = queryVnfNotification0.getVnfId();
41       assertEquals("", string0);
42   }
43
44   @Test(timeout = 4000)
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);
51   }
52
53   @Test(timeout = 4000)
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);
60   }
61
62   @Test(timeout = 4000)
63   public void test05()  throws Throwable  {
64       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
65       queryVnfNotification0.messageId = "FAILED";
66       String string0 = queryVnfNotification0.getMessageId();
67       assertEquals("FAILED", string0);
68   }
69
70   @Test(timeout = 4000)
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);
77   }
78
79   @Test(timeout = 4000)
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);
85   }
86
87   @Test(timeout = 4000)
88   public void test08()  throws Throwable  {
89       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
90       String string0 = queryVnfNotification0.getMessageId();
91       assertNull(string0);
92   }
93
94   @Test(timeout = 4000)
95   public void test09()  throws Throwable  {
96       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
97       queryVnfNotification0.setMessageId("");
98       String string0 = queryVnfNotification0.getMessageId();
99       assertEquals("", string0);
100   }
101
102   @Test(timeout = 4000)
103   public void test10()  throws Throwable  {
104       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
105       queryVnfNotification0.setCompleted(true);
106       assertTrue(queryVnfNotification0.isCompleted());
107   }
108
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);
115   }
116
117   @Test(timeout = 4000)
118   public void test12()  throws Throwable  {
119       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
120       String string0 = queryVnfNotification0.getVnfId();
121       assertNull(string0);
122   }
123
124   @Test(timeout = 4000)
125   public void test13()  throws Throwable  {
126       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
127       boolean boolean0 = queryVnfNotification0.isCompleted();
128       assertFalse(boolean0);
129   }
130
131   @Test(timeout = 4000)
132   public void test14()  throws Throwable  {
133       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
134       queryVnfNotification0.getStatus();
135   }
136
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);
143   }
144
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());
151   }
152
153   @Test(timeout = 4000)
154   public void test17()  throws Throwable  {
155       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
156       Boolean boolean0 = queryVnfNotification0.isVnfExists();
157       assertNull(boolean0);
158   }
159
160   @Test(timeout = 4000)
161   public void test18()  throws Throwable  {
162       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
163       queryVnfNotification0.getException();
164   }
165
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);
171   }
172
173   @Test(timeout = 4000)
174   public void test20()  throws Throwable  {
175       QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
176       String string0 = queryVnfNotification0.getErrorMessage();
177       assertNull(string0);
178   }
179
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);
187   }
188
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);
195   }
196
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();
201       assertNull(string0);
202   }
203
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());
209   }
210
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();
215       assertNull(string0);
216   }
217
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());
223   }
224 }