Initial OpenECOMP MSO commit
[so.git] / mso-catalog-db / src / test / java / org / openecomp / mso / db / catalog / beans / RecipeESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 08:21:28 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 import static org.evosuite.shaded.org.mockito.Mockito.*;
11
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;
17
18 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
19 public class RecipeESTest extends RecipeESTestscaffolding {
20
21   @Test(timeout = 4000)
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);
27   }
28
29   @Test(timeout = 4000)
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);
35   }
36
37   @Test(timeout = 4000)
38   public void test02()  throws Throwable  {
39       Recipe recipe0 = new Recipe();
40       recipe0.setServiceType("");
41       String string0 = recipe0.getServiceType();
42       assertEquals("", string0);
43   }
44
45   @Test(timeout = 4000)
46   public void test03()  throws Throwable  {
47       Recipe recipe0 = new Recipe();
48       recipe0.setRecipeTimeout((-639));
49       int int0 = recipe0.getRecipeTimeout();
50       assertEquals((-639), int0);
51   }
52
53   @Test(timeout = 4000)
54   public void test04()  throws Throwable  {
55       Recipe recipe0 = new Recipe();
56       recipe0.orchestrationUri = ".";
57       String string0 = recipe0.getOrchestrationUri();
58       assertEquals(".", string0);
59   }
60
61   @Test(timeout = 4000)
62   public void test05()  throws Throwable  {
63       Recipe recipe0 = new Recipe();
64       recipe0.setOrchestrationUri("");
65       String string0 = recipe0.getOrchestrationUri();
66       assertEquals("", string0);
67   }
68
69   @Test(timeout = 4000)
70   public void test06()  throws Throwable  {
71       Recipe recipe0 = new Recipe();
72       recipe0.setId(1);
73       int int0 = recipe0.getId();
74       assertEquals(1, int0);
75   }
76
77   @Test(timeout = 4000)
78   public void test07()  throws Throwable  {
79       Recipe recipe0 = new Recipe();
80       recipe0.setId((-529));
81       int int0 = recipe0.getId();
82       assertEquals((-529), int0);
83   }
84
85   @Test(timeout = 4000)
86   public void test08()  throws Throwable  {
87       Recipe recipe0 = new Recipe();
88       recipe0.setDescription("F+/=");
89       String string0 = recipe0.getDescription();
90       assertEquals("F+/=", string0);
91   }
92
93   @Test(timeout = 4000)
94   public void test09()  throws Throwable  {
95       Recipe recipe0 = new Recipe();
96       recipe0.setDescription("");
97       String string0 = recipe0.getDescription();
98       assertEquals("", string0);
99   }
100
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);
107   }
108
109   @Test(timeout = 4000)
110   public void test11()  throws Throwable  {
111       Recipe recipe0 = new Recipe();
112       recipe0.action = "";
113       String string0 = recipe0.getAction();
114       assertEquals("", string0);
115   }
116
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);
125   }
126
127   @Test(timeout = 4000)
128   public void test13()  throws Throwable  {
129       Recipe recipe0 = new Recipe();
130       int int0 = recipe0.getId();
131       assertEquals(0, int0);
132   }
133
134   @Test(timeout = 4000)
135   public void test14()  throws Throwable  {
136       Recipe recipe0 = new Recipe();
137       String string0 = recipe0.getDescription();
138       assertNull(string0);
139   }
140
141   @Test(timeout = 4000)
142   public void test15()  throws Throwable  {
143       Recipe recipe0 = new Recipe();
144       int int0 = recipe0.getRecipeTimeout();
145       assertEquals(0, int0);
146   }
147
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);
154   }
155
156   @Test(timeout = 4000)
157   public void test17()  throws Throwable  {
158       Recipe recipe0 = new Recipe();
159       String string0 = recipe0.getAction();
160       assertNull(string0);
161   }
162
163   @Test(timeout = 4000)
164   public void test18()  throws Throwable  {
165       Recipe recipe0 = new Recipe();
166       Timestamp timestamp0 = recipe0.getCreated();
167       assertNull(timestamp0);
168   }
169
170   @Test(timeout = 4000)
171   public void test19()  throws Throwable  {
172       Recipe recipe0 = new Recipe();
173       String string0 = recipe0.getOrchestrationUri();
174       assertNull(string0);
175   }
176
177   @Test(timeout = 4000)
178   public void test20()  throws Throwable  {
179       Recipe recipe0 = new Recipe();
180       String string0 = recipe0.getServiceType();
181       assertNull(string0);
182   }
183 }