2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 08:13:39 GMT 2016
6 package org.openecomp.mso.db.catalog.beans;
9 import static org.junit.Assert.*;
11 import java.sql.Timestamp;
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 HeatEnvironmentESTest extends HeatEnvironmentESTestscaffolding {
20 public void test00() throws Throwable {
21 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
22 heatEnvironment0.setName("");
23 String string0 = heatEnvironment0.getName();
24 assertEquals("", string0);
28 public void test01() throws Throwable {
29 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
30 heatEnvironment0.setId(4618);
31 int int0 = heatEnvironment0.getId();
32 assertEquals(4618, int0);
36 public void test02() throws Throwable {
37 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
38 heatEnvironment0.setId((-2248));
39 int int0 = heatEnvironment0.getId();
40 assertEquals((-2248), int0);
44 public void test03() throws Throwable {
45 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
46 heatEnvironment0.setEnvironment("=?");
47 String string0 = heatEnvironment0.getEnvironment();
48 assertEquals("=?", string0);
52 public void test04() throws Throwable {
53 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
54 heatEnvironment0.setEnvironment("");
55 String string0 = heatEnvironment0.getEnvironment();
56 assertEquals("", string0);
60 public void test05() throws Throwable {
61 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
62 heatEnvironment0.setDescription("&G");
63 String string0 = heatEnvironment0.getDescription();
64 assertEquals("&G", string0);
68 public void test06() throws Throwable {
69 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
70 heatEnvironment0.setDescription("");
71 String string0 = heatEnvironment0.getDescription();
72 assertEquals("", string0);
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);
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);
93 public void test09() throws Throwable {
94 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
95 heatEnvironment0.setAsdcUuid("");
96 String string0 = heatEnvironment0.getAsdcUuid();
97 assertEquals("", string0);
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);
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);
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);
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);
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);
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);
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);
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);
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);
173 @Test(timeout = 4000)
174 public void test19() throws Throwable {
175 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
176 String string0 = heatEnvironment0.getAsdcUuid();
180 @Test(timeout = 4000)
181 public void test20() throws Throwable {
182 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
183 String string0 = heatEnvironment0.getEnvironment();
187 @Test(timeout = 4000)
188 public void test21() throws Throwable {
189 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
190 int int0 = heatEnvironment0.getId();
191 assertEquals(0, int0);
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);
203 @Test(timeout = 4000)
204 public void test23() throws Throwable {
205 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
206 String string0 = heatEnvironment0.getAsdcResourceName();
210 @Test(timeout = 4000)
211 public void test24() throws Throwable {
212 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
213 String string0 = heatEnvironment0.getName();
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);
225 @Test(timeout = 4000)
226 public void test26() throws Throwable {
227 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
228 Timestamp timestamp0 = heatEnvironment0.getCreated();
229 assertNull(timestamp0);
232 @Test(timeout = 4000)
233 public void test27() throws Throwable {
234 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
235 String string0 = heatEnvironment0.getAsdcLabel();
239 @Test(timeout = 4000)
240 public void test28() throws Throwable {
241 HeatEnvironment heatEnvironment0 = new HeatEnvironment();
242 String string0 = heatEnvironment0.getDescription();