[MSO-8] Update the maven dependency
[so.git] / mso-catalog-db / src / test / java / org / openecomp / mso / db / catalog / beans / ServiceToAllottedResourcesESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Wed Feb 22 09:33:37 GMT 2017
4  */
5
6 package org.openecomp.mso.db.catalog.beans;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10 import java.sql.Timestamp;
11 import org.evosuite.runtime.EvoRunner;
12 import org.evosuite.runtime.EvoRunnerParameters;
13 import org.junit.runner.RunWith;
14
15 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
16 public class ServiceToAllottedResourcesESTest extends ServiceToAllottedResourcesESTestscaffolding {
17
18   @Test(timeout = 4000)
19   public void test0()  throws Throwable  {
20       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
21       serviceToAllottedResources0.setServiceModelUuid("serviceModelUuid=nullarModelCustomizationUuid=null");
22       String string0 = serviceToAllottedResources0.getServiceModelUuid();
23       assertEquals("serviceModelUuid=nullarModelCustomizationUuid=null", string0);
24   }
25
26   @Test(timeout = 4000)
27   public void test1()  throws Throwable  {
28       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
29       Timestamp timestamp0 = new Timestamp(0L);
30       serviceToAllottedResources0.setCreated(timestamp0);
31       Timestamp timestamp1 = serviceToAllottedResources0.getCreated();
32       assertEquals("1970-01-01 00:00:00.0", timestamp1.toString());
33   }
34
35   @Test(timeout = 4000)
36   public void test2()  throws Throwable  {
37       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
38       serviceToAllottedResources0.setArModelCustomizationUuid("D7q@");
39       String string0 = serviceToAllottedResources0.getArModelCustomizationUuid();
40       assertEquals("D7q@", string0);
41   }
42
43   @Test(timeout = 4000)
44   public void test3()  throws Throwable  {
45       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
46       serviceToAllottedResources0.setArModelCustomizationUuid("");
47       String string0 = serviceToAllottedResources0.getArModelCustomizationUuid();
48       assertEquals("", string0);
49   }
50
51   @Test(timeout = 4000)
52   public void test4()  throws Throwable  {
53       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
54       String string0 = serviceToAllottedResources0.toString();
55       assertEquals("serviceModelUuid=nullarModelCustomizationUuid=null", string0);
56   }
57
58   @Test(timeout = 4000)
59   public void test5()  throws Throwable  {
60       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
61       serviceToAllottedResources0.setServiceModelUuid("");
62       String string0 = serviceToAllottedResources0.getServiceModelUuid();
63       assertEquals("", string0);
64   }
65
66   @Test(timeout = 4000)
67   public void test6()  throws Throwable  {
68       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
69       Timestamp timestamp0 = new Timestamp((-683L));
70       serviceToAllottedResources0.setCreated(timestamp0);
71       Timestamp timestamp1 = serviceToAllottedResources0.getCreated();
72       assertEquals("1969-12-31 23:59:59.317", timestamp1.toString());
73   }
74
75   @Test(timeout = 4000)
76   public void test7()  throws Throwable  {
77       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
78       String string0 = serviceToAllottedResources0.getServiceModelUuid();
79       assertNull(string0);
80   }
81
82   @Test(timeout = 4000)
83   public void test8()  throws Throwable  {
84       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
85       String string0 = serviceToAllottedResources0.getArModelCustomizationUuid();
86       assertNull(string0);
87   }
88
89   @Test(timeout = 4000)
90   public void test9()  throws Throwable  {
91       ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
92       Timestamp timestamp0 = serviceToAllottedResources0.getCreated();
93       assertNull(timestamp0);
94   }
95 }