2 * This file was automatically generated by EvoSuite
3 * Mon Feb 20 14:09:38 GMT 2017
6 package org.openecomp.mso.adapters.sdncrest;
9 import static org.junit.Assert.*;
10 import org.evosuite.runtime.EvoRunner;
11 import org.evosuite.runtime.EvoRunnerParameters;
12 import org.junit.runner.RunWith;
14 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
15 public class ServiceInformationESTest extends ServiceInformationESTestscaffolding {
18 public void test00() throws Throwable {
19 ServiceInformation serviceInformation0 = new ServiceInformation("J|^", ":N1
\7fQ`D JY", "org.openecomp.mso.adapters.sdncrest.ServiceInformation", ":N1
\7fQ`D JY");
20 String string0 = serviceInformation0.getSubscriberName();
21 assertEquals("org.openecomp.mso.adapters.sdncrest.ServiceInformation", string0);
22 assertEquals("J|^", serviceInformation0.getServiceType());
23 assertEquals(":N1
\7fQ`D JY", serviceInformation0.getSubscriberGlobalId());
24 assertEquals(":N1
\7fQ`D JY", serviceInformation0.getServiceInstanceId());
28 public void test01() throws Throwable {
29 ServiceInformation serviceInformation0 = new ServiceInformation("", (String) null, "", "");
30 String string0 = serviceInformation0.getSubscriberName();
31 assertEquals("", string0);
35 public void test02() throws Throwable {
36 ServiceInformation serviceInformation0 = new ServiceInformation("J|^", ":N1
\7fQ`D JY", "org.openecomp.mso.adapters.sdncrest.ServiceInformation", ":N1
\7fQ`D JY");
37 String string0 = serviceInformation0.getSubscriberGlobalId();
38 assertEquals(":N1
\7fQ`D JY", serviceInformation0.getServiceInstanceId());
39 assertEquals("org.openecomp.mso.adapters.sdncrest.ServiceInformation", serviceInformation0.getSubscriberName());
40 assertEquals("J|^", serviceInformation0.getServiceType());
41 assertEquals(":N1
\7fQ`D JY", string0);
45 public void test03() throws Throwable {
46 ServiceInformation serviceInformation0 = new ServiceInformation();
47 serviceInformation0.setSubscriberGlobalId("");
48 String string0 = serviceInformation0.getSubscriberGlobalId();
49 assertEquals("", string0);
53 public void test04() throws Throwable {
54 ServiceInformation serviceInformation0 = new ServiceInformation();
55 serviceInformation0.setServiceType("org.openecomp.mso.adapters.sdncrest.ServiceInformation");
56 String string0 = serviceInformation0.getServiceType();
57 assertEquals("org.openecomp.mso.adapters.sdncrest.ServiceInformation", string0);
61 public void test05() throws Throwable {
62 ServiceInformation serviceInformation0 = new ServiceInformation();
63 serviceInformation0.setServiceInstanceId("q3jc2(qb=E+3uz_L%");
64 String string0 = serviceInformation0.getServiceInstanceId();
65 assertEquals("q3jc2(qb=E+3uz_L%", string0);
69 public void test06() throws Throwable {
70 ServiceInformation serviceInformation0 = new ServiceInformation();
71 serviceInformation0.setServiceInstanceId("");
72 String string0 = serviceInformation0.getServiceInstanceId();
73 assertEquals("", string0);
77 public void test07() throws Throwable {
78 ServiceInformation serviceInformation0 = new ServiceInformation();
79 String string0 = serviceInformation0.getSubscriberName();
84 public void test08() throws Throwable {
85 ServiceInformation serviceInformation0 = new ServiceInformation();
86 serviceInformation0.setSubscriberName((String) null);
87 assertNull(serviceInformation0.getServiceInstanceId());
91 public void test09() throws Throwable {
92 ServiceInformation serviceInformation0 = new ServiceInformation();
93 String string0 = serviceInformation0.getServiceInstanceId();
98 public void test10() throws Throwable {
99 ServiceInformation serviceInformation0 = new ServiceInformation();
100 String string0 = serviceInformation0.getSubscriberGlobalId();
104 @Test(timeout = 4000)
105 public void test11() throws Throwable {
106 ServiceInformation serviceInformation0 = new ServiceInformation();
107 String string0 = serviceInformation0.getServiceType();
111 @Test(timeout = 4000)
112 public void test12() throws Throwable {
113 ServiceInformation serviceInformation0 = new ServiceInformation();
114 serviceInformation0.setServiceType("");
115 String string0 = serviceInformation0.getServiceType();
116 assertEquals("", string0);