Initial OpenECOMP MSO commit
[so.git] / mso-catalog-db / src / test / java / org / openecomp / mso / db / catalog / beans / HeatEnvironmentESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 08:13:39 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 HeatEnvironmentESTest extends HeatEnvironmentESTestscaffolding {
18
19   @Test(timeout = 4000)
20   public void test00()  throws Throwable  {
21       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
22       heatEnvironment0.setName("");
23       String string0 = heatEnvironment0.getName();
24       assertEquals("", string0);
25   }
26
27   @Test(timeout = 4000)
28   public void test01()  throws Throwable  {
29       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
30       heatEnvironment0.setId(4618);
31       int int0 = heatEnvironment0.getId();
32       assertEquals(4618, int0);
33   }
34
35   @Test(timeout = 4000)
36   public void test02()  throws Throwable  {
37       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
38       heatEnvironment0.setId((-2248));
39       int int0 = heatEnvironment0.getId();
40       assertEquals((-2248), int0);
41   }
42
43   @Test(timeout = 4000)
44   public void test03()  throws Throwable  {
45       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
46       heatEnvironment0.setEnvironment("=?");
47       String string0 = heatEnvironment0.getEnvironment();
48       assertEquals("=?", string0);
49   }
50
51   @Test(timeout = 4000)
52   public void test04()  throws Throwable  {
53       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
54       heatEnvironment0.setEnvironment("");
55       String string0 = heatEnvironment0.getEnvironment();
56       assertEquals("", string0);
57   }
58
59   @Test(timeout = 4000)
60   public void test05()  throws Throwable  {
61       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
62       heatEnvironment0.setDescription("&G");
63       String string0 = heatEnvironment0.getDescription();
64       assertEquals("&G", string0);
65   }
66
67   @Test(timeout = 4000)
68   public void test06()  throws Throwable  {
69       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
70       heatEnvironment0.setDescription("");
71       String string0 = heatEnvironment0.getDescription();
72       assertEquals("", string0);
73   }
74
75   @Test(timeout = 4000)
76   public void test07()  throws Throwable  {
77       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
78       Timestamp timestamp0 = new Timestamp((long) 0);
79       heatEnvironment0.setCreated(timestamp0);
80       Timestamp timestamp1 = heatEnvironment0.getCreated();
81       assertSame(timestamp1, timestamp0);
82   }
83
84   @Test(timeout = 4000)
85   public void test08()  throws Throwable  {
86       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
87       heatEnvironment0.setAsdcUuid("L5UX?<T)6#pS4l");
88       String string0 = heatEnvironment0.getAsdcUuid();
89       assertEquals("L5UX?<T)6#pS4l", string0);
90   }
91
92   @Test(timeout = 4000)
93   public void test09()  throws Throwable  {
94       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
95       heatEnvironment0.setAsdcUuid("");
96       String string0 = heatEnvironment0.getAsdcUuid();
97       assertEquals("", string0);
98   }
99
100   @Test(timeout = 4000)
101   public void test10()  throws Throwable  {
102       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
103       heatEnvironment0.setAsdcResourceName("?zKdIbs8Xk_.4!");
104       String string0 = heatEnvironment0.getAsdcResourceName();
105       assertEquals("?zKdIbs8Xk_.4!", string0);
106   }
107
108   @Test(timeout = 4000)
109   public void test11()  throws Throwable  {
110       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
111       heatEnvironment0.setAsdcResourceName("");
112       String string0 = heatEnvironment0.getAsdcResourceName();
113       assertEquals("", string0);
114   }
115
116   @Test(timeout = 4000)
117   public void test12()  throws Throwable  {
118       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
119       heatEnvironment0.setAsdcLabel(".");
120       String string0 = heatEnvironment0.getAsdcLabel();
121       assertEquals(".", string0);
122   }
123
124   @Test(timeout = 4000)
125   public void test13()  throws Throwable  {
126       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
127       heatEnvironment0.setAsdcLabel("");
128       String string0 = heatEnvironment0.getAsdcLabel();
129       assertEquals("", string0);
130   }
131
132   @Test(timeout = 4000)
133   public void test14()  throws Throwable  {
134       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
135       Timestamp timestamp0 = new Timestamp((long) 0);
136       heatEnvironment0.setCreated(timestamp0);
137       String string0 = heatEnvironment0.toString();
138       assertEquals("ID=0, name=null, version=null, description=null, environment=null, asdcUuid=null, asdcResourceName=null,created=1/1/70 12:00 AM", string0);
139   }
140
141   @Test(timeout = 4000)
142   public void test15()  throws Throwable  {
143       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
144       heatEnvironment0.setAsdcResourceName("?zKdIbs8Xk_.4!");
145       String string0 = heatEnvironment0.toString();
146       assertEquals("ID=0, name=null, version=null, description=null, environment=null, asdcUuid=null, asdcResourceName=?zKdIbs8Xk_.4!", string0);
147   }
148
149   @Test(timeout = 4000)
150   public void test16()  throws Throwable  {
151       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
152       heatEnvironment0.setAsdcUuid("");
153       String string0 = heatEnvironment0.toString();
154       assertEquals("ID=0, name=null, version=null, description=null, environment=null, asdcUuid=, asdcResourceName=null", string0);
155   }
156
157   @Test(timeout = 4000)
158   public void test17()  throws Throwable  {
159       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
160       heatEnvironment0.setDescription("?zKdIbs8Xk_.4!");
161       String string0 = heatEnvironment0.toString();
162       assertEquals("ID=0, name=null, version=null, description=?zKdIbs8Xk_.4!, environment=null, asdcUuid=null, asdcResourceName=null", string0);
163   }
164
165   @Test(timeout = 4000)
166   public void test18()  throws Throwable  {
167       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
168       heatEnvironment0.setName("}");
169       String string0 = heatEnvironment0.getName();
170       assertEquals("}", string0);
171   }
172
173   @Test(timeout = 4000)
174   public void test19()  throws Throwable  {
175       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
176       String string0 = heatEnvironment0.getAsdcUuid();
177       assertNull(string0);
178   }
179
180   @Test(timeout = 4000)
181   public void test20()  throws Throwable  {
182       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
183       String string0 = heatEnvironment0.getEnvironment();
184       assertNull(string0);
185   }
186
187   @Test(timeout = 4000)
188   public void test21()  throws Throwable  {
189       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
190       int int0 = heatEnvironment0.getId();
191       assertEquals(0, int0);
192   }
193
194   @Test(timeout = 4000)
195   public void test22()  throws Throwable  {
196       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
197       Timestamp timestamp0 = new Timestamp(356L);
198       heatEnvironment0.setCreated(timestamp0);
199       Timestamp timestamp1 = heatEnvironment0.getCreated();
200       assertSame(timestamp1, timestamp0);
201   }
202
203   @Test(timeout = 4000)
204   public void test23()  throws Throwable  {
205       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
206       String string0 = heatEnvironment0.getAsdcResourceName();
207       assertNull(string0);
208   }
209
210   @Test(timeout = 4000)
211   public void test24()  throws Throwable  {
212       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
213       String string0 = heatEnvironment0.getName();
214       assertNull(string0);
215   }
216
217   @Test(timeout = 4000)
218   public void test25()  throws Throwable  {
219       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
220       heatEnvironment0.setEnvironment("");
221       String string0 = heatEnvironment0.toString();
222       assertEquals("ID=0, name=null, version=null, description=null, environment=, asdcUuid=null, asdcResourceName=null", string0);
223   }
224
225   @Test(timeout = 4000)
226   public void test26()  throws Throwable  {
227       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
228       Timestamp timestamp0 = heatEnvironment0.getCreated();
229       assertNull(timestamp0);
230   }
231
232   @Test(timeout = 4000)
233   public void test27()  throws Throwable  {
234       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
235       String string0 = heatEnvironment0.getAsdcLabel();
236       assertNull(string0);
237   }
238
239   @Test(timeout = 4000)
240   public void test28()  throws Throwable  {
241       HeatEnvironment heatEnvironment0 = new HeatEnvironment();
242       String string0 = heatEnvironment0.getDescription();
243       assertNull(string0);
244   }
245 }