2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 08:21:28 GMT 2016
6 package org.openecomp.mso.db.catalog.beans;
9 import static org.junit.Assert.*;
10 import static org.evosuite.shaded.org.mockito.Mockito.*;
12 import java.sql.Timestamp;
13 import org.evosuite.runtime.EvoRunner;
14 import org.evosuite.runtime.EvoRunnerParameters;
15 import org.evosuite.runtime.ViolatedAssumptionAnswer;
16 import org.junit.runner.RunWith;
18 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
19 public class RecipeESTest extends RecipeESTestscaffolding {
22 public void test00() throws Throwable {
23 Recipe recipe0 = new Recipe();
24 recipe0.setOrchestrationUri("");
25 String string0 = recipe0.toString();
26 assertEquals("RECIPE: null,uri=", string0);
30 public void test01() throws Throwable {
31 Recipe recipe0 = new Recipe();
32 recipe0.setServiceType("s5s< CkZ9K:R0~
\7f ;");
33 String string0 = recipe0.getServiceType();
34 assertEquals("s5s< CkZ9K:R0~
\7f ;", string0);
38 public void test02() throws Throwable {
39 Recipe recipe0 = new Recipe();
40 recipe0.setServiceType("");
41 String string0 = recipe0.getServiceType();
42 assertEquals("", string0);
46 public void test03() throws Throwable {
47 Recipe recipe0 = new Recipe();
48 recipe0.setRecipeTimeout((-639));
49 int int0 = recipe0.getRecipeTimeout();
50 assertEquals((-639), int0);
54 public void test04() throws Throwable {
55 Recipe recipe0 = new Recipe();
56 recipe0.orchestrationUri = ".";
57 String string0 = recipe0.getOrchestrationUri();
58 assertEquals(".", string0);
62 public void test05() throws Throwable {
63 Recipe recipe0 = new Recipe();
64 recipe0.setOrchestrationUri("");
65 String string0 = recipe0.getOrchestrationUri();
66 assertEquals("", string0);
70 public void test06() throws Throwable {
71 Recipe recipe0 = new Recipe();
73 int int0 = recipe0.getId();
74 assertEquals(1, int0);
78 public void test07() throws Throwable {
79 Recipe recipe0 = new Recipe();
80 recipe0.setId((-529));
81 int int0 = recipe0.getId();
82 assertEquals((-529), int0);
86 public void test08() throws Throwable {
87 Recipe recipe0 = new Recipe();
88 recipe0.setDescription("F+/=");
89 String string0 = recipe0.getDescription();
90 assertEquals("F+/=", string0);
94 public void test09() throws Throwable {
95 Recipe recipe0 = new Recipe();
96 recipe0.setDescription("");
97 String string0 = recipe0.getDescription();
98 assertEquals("", string0);
101 @Test(timeout = 4000)
102 public void test10() throws Throwable {
103 Recipe recipe0 = new Recipe();
104 recipe0.setAction("RECIPE: null,uri=null");
105 String string0 = recipe0.getAction();
106 assertEquals("RECIPE: null,uri=null", string0);
109 @Test(timeout = 4000)
110 public void test11() throws Throwable {
111 Recipe recipe0 = new Recipe();
113 String string0 = recipe0.getAction();
114 assertEquals("", string0);
117 @Test(timeout = 4000)
118 public void test12() throws Throwable {
119 Recipe recipe0 = new Recipe();
120 Timestamp timestamp0 = mock(Timestamp.class, new ViolatedAssumptionAnswer());
121 doReturn(0L).when(timestamp0).getTime();
122 recipe0.setCreated(timestamp0);
123 String string0 = recipe0.toString();
124 assertEquals("RECIPE: null,uri=null,created=1/1/70 12:00 AM", string0);
127 @Test(timeout = 4000)
128 public void test13() throws Throwable {
129 Recipe recipe0 = new Recipe();
130 int int0 = recipe0.getId();
131 assertEquals(0, int0);
134 @Test(timeout = 4000)
135 public void test14() throws Throwable {
136 Recipe recipe0 = new Recipe();
137 String string0 = recipe0.getDescription();
141 @Test(timeout = 4000)
142 public void test15() throws Throwable {
143 Recipe recipe0 = new Recipe();
144 int int0 = recipe0.getRecipeTimeout();
145 assertEquals(0, int0);
148 @Test(timeout = 4000)
149 public void test16() throws Throwable {
150 Recipe recipe0 = new Recipe();
151 recipe0.setRecipeTimeout(957);
152 int int0 = recipe0.getRecipeTimeout();
153 assertEquals(957, int0);
156 @Test(timeout = 4000)
157 public void test17() throws Throwable {
158 Recipe recipe0 = new Recipe();
159 String string0 = recipe0.getAction();
163 @Test(timeout = 4000)
164 public void test18() throws Throwable {
165 Recipe recipe0 = new Recipe();
166 Timestamp timestamp0 = recipe0.getCreated();
167 assertNull(timestamp0);
170 @Test(timeout = 4000)
171 public void test19() throws Throwable {
172 Recipe recipe0 = new Recipe();
173 String string0 = recipe0.getOrchestrationUri();
177 @Test(timeout = 4000)
178 public void test20() throws Throwable {
179 Recipe recipe0 = new Recipe();
180 String string0 = recipe0.getServiceType();