2 * This file was automatically generated by EvoSuite
3 * Wed Feb 22 09:33:37 GMT 2017
6 package org.openecomp.mso.db.catalog.beans;
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;
15 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
16 public class ServiceToAllottedResourcesESTest extends ServiceToAllottedResourcesESTestscaffolding {
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);
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());
36 public void test2() throws Throwable {
37 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
38 serviceToAllottedResources0.setArModelCustomizationUuid("D7q@");
39 String string0 = serviceToAllottedResources0.getArModelCustomizationUuid();
40 assertEquals("D7q@", string0);
44 public void test3() throws Throwable {
45 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
46 serviceToAllottedResources0.setArModelCustomizationUuid("");
47 String string0 = serviceToAllottedResources0.getArModelCustomizationUuid();
48 assertEquals("", string0);
52 public void test4() throws Throwable {
53 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
54 String string0 = serviceToAllottedResources0.toString();
55 assertEquals("serviceModelUuid=nullarModelCustomizationUuid=null", string0);
59 public void test5() throws Throwable {
60 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
61 serviceToAllottedResources0.setServiceModelUuid("");
62 String string0 = serviceToAllottedResources0.getServiceModelUuid();
63 assertEquals("", string0);
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());
76 public void test7() throws Throwable {
77 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
78 String string0 = serviceToAllottedResources0.getServiceModelUuid();
83 public void test8() throws Throwable {
84 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
85 String string0 = serviceToAllottedResources0.getArModelCustomizationUuid();
90 public void test9() throws Throwable {
91 ServiceToAllottedResources serviceToAllottedResources0 = new ServiceToAllottedResources();
92 Timestamp timestamp0 = serviceToAllottedResources0.getCreated();
93 assertNull(timestamp0);