Initial OpenECOMP MSO commit
[so.git] / mso-catalog-db / src / test / java / org / openecomp / mso / db / catalog / beans / HeatFilesESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 08:17:06 GMT 2016
4  */
5
6 package org.openecomp.mso.db.catalog.beans;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10
11 import java.sql.Timestamp;
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 HeatFilesESTest extends HeatFilesESTestscaffolding {
18
19   @Test(timeout = 4000)
20   public void test00()  throws Throwable  {
21       HeatFiles heatFiles0 = new HeatFiles();
22       heatFiles0.setVnfResourceId(1);
23       int int0 = heatFiles0.getVnfResourceId();
24       assertEquals(1, int0);
25   }
26
27   @Test(timeout = 4000)
28   public void test01()  throws Throwable  {
29       HeatFiles heatFiles0 = new HeatFiles();
30       heatFiles0.setVnfResourceId((-1));
31       int int0 = heatFiles0.getVnfResourceId();
32       assertEquals((-1), int0);
33   }
34
35   @Test(timeout = 4000)
36   public void test02()  throws Throwable  {
37       HeatFiles heatFiles0 = new HeatFiles();
38       heatFiles0.setId(1401);
39       int int0 = heatFiles0.getId();
40       assertEquals(1401, int0);
41   }
42
43   @Test(timeout = 4000)
44   public void test03()  throws Throwable  {
45       HeatFiles heatFiles0 = new HeatFiles();
46       heatFiles0.setId((-356));
47       int int0 = heatFiles0.getId();
48       assertEquals((-356), int0);
49   }
50
51   @Test(timeout = 4000)
52   public void test04()  throws Throwable  {
53       HeatFiles heatFiles0 = new HeatFiles();
54       heatFiles0.setFileName("~%Ab#a%tf");
55       String string0 = heatFiles0.getFileName();
56       assertEquals("~%Ab#a%tf", string0);
57   }
58
59   @Test(timeout = 4000)
60   public void test05()  throws Throwable  {
61       HeatFiles heatFiles0 = new HeatFiles();
62       heatFiles0.setFileName("");
63       String string0 = heatFiles0.getFileName();
64       assertEquals("", string0);
65   }
66
67   @Test(timeout = 4000)
68   public void test06()  throws Throwable  {
69       HeatFiles heatFiles0 = new HeatFiles();
70       heatFiles0.setFileBody("M9]V'AWK/44+BD");
71       String string0 = heatFiles0.getFileBody();
72       assertEquals("M9]V'AWK/44+BD", string0);
73   }
74
75   @Test(timeout = 4000)
76   public void test07()  throws Throwable  {
77       HeatFiles heatFiles0 = new HeatFiles();
78       heatFiles0.setFileBody("");
79       String string0 = heatFiles0.getFileBody();
80       assertEquals("", string0);
81   }
82
83   @Test(timeout = 4000)
84   public void test08()  throws Throwable  {
85       HeatFiles heatFiles0 = new HeatFiles();
86       heatFiles0.setDescription("~%Ab#a%tf");
87       String string0 = heatFiles0.getDescription();
88       assertEquals("~%Ab#a%tf", string0);
89   }
90
91   @Test(timeout = 4000)
92   public void test09()  throws Throwable  {
93       HeatFiles heatFiles0 = new HeatFiles();
94       heatFiles0.setDescription("");
95       String string0 = heatFiles0.getDescription();
96       assertEquals("", string0);
97   }
98
99   @Test(timeout = 4000)
100   public void test10()  throws Throwable  {
101       HeatFiles heatFiles0 = new HeatFiles();
102       Timestamp timestamp0 = new Timestamp(0L);
103       heatFiles0.setCreated(timestamp0);
104       Timestamp timestamp1 = heatFiles0.getCreated();
105       assertEquals("1970-01-01 00:00:00.0", timestamp1.toString());
106   }
107
108   @Test(timeout = 4000)
109   public void test11()  throws Throwable  {
110       HeatFiles heatFiles0 = new HeatFiles();
111       heatFiles0.setAsdcUuid("g$ vwC-q.`GT#b[<C");
112       String string0 = heatFiles0.getAsdcUuid();
113       assertEquals("g$ vwC-q.`GT#b[<C", string0);
114   }
115
116   @Test(timeout = 4000)
117   public void test12()  throws Throwable  {
118       HeatFiles heatFiles0 = new HeatFiles();
119       heatFiles0.setAsdcUuid("");
120       String string0 = heatFiles0.getAsdcUuid();
121       assertEquals("", string0);
122   }
123
124   @Test(timeout = 4000)
125   public void test13()  throws Throwable  {
126       HeatFiles heatFiles0 = new HeatFiles();
127       heatFiles0.setAsdcResourceName("");
128       String string0 = heatFiles0.getAsdcResourceName();
129       assertEquals("", string0);
130   }
131
132   @Test(timeout = 4000)
133   public void test14()  throws Throwable  {
134       HeatFiles heatFiles0 = new HeatFiles();
135       heatFiles0.setAsdcLabel("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0");
136       String string0 = heatFiles0.getAsdcLabel();
137       assertEquals("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0", string0);
138   }
139
140   @Test(timeout = 4000)
141   public void test15()  throws Throwable  {
142       HeatFiles heatFiles0 = new HeatFiles();
143       Timestamp timestamp0 = new Timestamp(0L);
144       heatFiles0.setCreated(timestamp0);
145       String string0 = heatFiles0.toString();
146       assertEquals("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null,created=1/1/70 12:00 AM, vnfResourceId=0", string0);
147   }
148
149   @Test(timeout = 4000)
150   public void test16()  throws Throwable  {
151       HeatFiles heatFiles0 = new HeatFiles();
152       heatFiles0.setAsdcResourceName("ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0");
153       String string0 = heatFiles0.toString();
154       assertEquals("ID=0, description=null, fileName=null, fileBody=null,asdcResourceName=ID=0, description=null, fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0, vnfResourceId=0", string0);
155   }
156
157   @Test(timeout = 4000)
158   public void test17()  throws Throwable  {
159       HeatFiles heatFiles0 = new HeatFiles();
160       heatFiles0.setDescription(".");
161       String string0 = heatFiles0.toString();
162       assertEquals("ID=0, description=., fileName=null, fileBody=null, asdcResourceName=null, vnfResourceId=0", string0);
163   }
164
165   @Test(timeout = 4000)
166   public void test18()  throws Throwable  {
167       HeatFiles heatFiles0 = new HeatFiles();
168       heatFiles0.setAsdcResourceName("+^hG");
169       String string0 = heatFiles0.getAsdcResourceName();
170       assertEquals("+^hG", string0);
171   }
172
173   @Test(timeout = 4000)
174   public void test19()  throws Throwable  {
175       HeatFiles heatFiles0 = new HeatFiles();
176       heatFiles0.setFileName("");
177       String string0 = heatFiles0.toString();
178       assertEquals("ID=0, description=null,fileName=, fileBody=null, asdcResourceName=null, vnfResourceId=0", string0);
179   }
180
181   @Test(timeout = 4000)
182   public void test20()  throws Throwable  {
183       HeatFiles heatFiles0 = new HeatFiles();
184       int int0 = heatFiles0.getVnfResourceId();
185       assertEquals(0, int0);
186   }
187
188   @Test(timeout = 4000)
189   public void test21()  throws Throwable  {
190       HeatFiles heatFiles0 = new HeatFiles();
191       Timestamp timestamp0 = heatFiles0.getCreated();
192       assertNull(timestamp0);
193   }
194
195   @Test(timeout = 4000)
196   public void test22()  throws Throwable  {
197       HeatFiles heatFiles0 = new HeatFiles();
198       String string0 = heatFiles0.getDescription();
199       assertNull(string0);
200   }
201
202   @Test(timeout = 4000)
203   public void test23()  throws Throwable  {
204       HeatFiles heatFiles0 = new HeatFiles();
205       Timestamp timestamp0 = new Timestamp(2247L);
206       heatFiles0.setCreated(timestamp0);
207       Timestamp timestamp1 = heatFiles0.getCreated();
208       assertEquals(247000000, timestamp1.getNanos());
209   }
210
211   @Test(timeout = 4000)
212   public void test24()  throws Throwable  {
213       HeatFiles heatFiles0 = new HeatFiles();
214       heatFiles0.setFileBody("");
215       String string0 = heatFiles0.toString();
216       assertEquals("ID=0, description=null, fileName=null,fileBody=, asdcResourceName=null, vnfResourceId=0", string0);
217   }
218
219   @Test(timeout = 4000)
220   public void test25()  throws Throwable  {
221       HeatFiles heatFiles0 = new HeatFiles();
222       String string0 = heatFiles0.getAsdcLabel();
223       assertNull(string0);
224   }
225
226   @Test(timeout = 4000)
227   public void test26()  throws Throwable  {
228       HeatFiles heatFiles0 = new HeatFiles();
229       String string0 = heatFiles0.getFileName();
230       assertNull(string0);
231   }
232
233   @Test(timeout = 4000)
234   public void test27()  throws Throwable  {
235       HeatFiles heatFiles0 = new HeatFiles();
236       int int0 = heatFiles0.getId();
237       assertEquals(0, int0);
238   }
239
240   @Test(timeout = 4000)
241   public void test28()  throws Throwable  {
242       HeatFiles heatFiles0 = new HeatFiles();
243       String string0 = heatFiles0.getFileBody();
244       assertNull(string0);
245   }
246
247   @Test(timeout = 4000)
248   public void test29()  throws Throwable  {
249       HeatFiles heatFiles0 = new HeatFiles();
250       String string0 = heatFiles0.getAsdcResourceName();
251       assertNull(string0);
252   }
253
254   @Test(timeout = 4000)
255   public void test30()  throws Throwable  {
256       HeatFiles heatFiles0 = new HeatFiles();
257       String string0 = heatFiles0.getAsdcUuid();
258       assertNull(string0);
259   }
260
261   @Test(timeout = 4000)
262   public void test31()  throws Throwable  {
263       HeatFiles heatFiles0 = new HeatFiles();
264       heatFiles0.setAsdcLabel("");
265       String string0 = heatFiles0.getAsdcLabel();
266       assertEquals("", string0);
267   }
268 }