Merge "updated ARIA version"
[so.git] / adapters / mso-adapters-rest-interface / src / test / java / org / openecomp / mso / adapters / sdncrest / ServiceInformationESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Feb 20 14:09:38 GMT 2017
4  */
5
6 package org.openecomp.mso.adapters.sdncrest;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10 import org.evosuite.runtime.EvoRunner;
11 import org.evosuite.runtime.EvoRunnerParameters;
12 import org.junit.runner.RunWith;
13
14 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
15 public class ServiceInformationESTest extends ServiceInformationESTestscaffolding {
16
17   @Test(timeout = 4000)
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());
25   }
26
27   @Test(timeout = 4000)
28   public void test01()  throws Throwable  {
29       ServiceInformation serviceInformation0 = new ServiceInformation("", (String) null, "", "");
30       String string0 = serviceInformation0.getSubscriberName();
31       assertEquals("", string0);
32   }
33
34   @Test(timeout = 4000)
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);
42   }
43
44   @Test(timeout = 4000)
45   public void test03()  throws Throwable  {
46       ServiceInformation serviceInformation0 = new ServiceInformation();
47       serviceInformation0.setSubscriberGlobalId("");
48       String string0 = serviceInformation0.getSubscriberGlobalId();
49       assertEquals("", string0);
50   }
51
52   @Test(timeout = 4000)
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);
58   }
59
60   @Test(timeout = 4000)
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);
66   }
67
68   @Test(timeout = 4000)
69   public void test06()  throws Throwable  {
70       ServiceInformation serviceInformation0 = new ServiceInformation();
71       serviceInformation0.setServiceInstanceId("");
72       String string0 = serviceInformation0.getServiceInstanceId();
73       assertEquals("", string0);
74   }
75
76   @Test(timeout = 4000)
77   public void test07()  throws Throwable  {
78       ServiceInformation serviceInformation0 = new ServiceInformation();
79       String string0 = serviceInformation0.getSubscriberName();
80       assertNull(string0);
81   }
82
83   @Test(timeout = 4000)
84   public void test08()  throws Throwable  {
85       ServiceInformation serviceInformation0 = new ServiceInformation();
86       serviceInformation0.setSubscriberName((String) null);
87       assertNull(serviceInformation0.getServiceInstanceId());
88   }
89
90   @Test(timeout = 4000)
91   public void test09()  throws Throwable  {
92       ServiceInformation serviceInformation0 = new ServiceInformation();
93       String string0 = serviceInformation0.getServiceInstanceId();
94       assertNull(string0);
95   }
96
97   @Test(timeout = 4000)
98   public void test10()  throws Throwable  {
99       ServiceInformation serviceInformation0 = new ServiceInformation();
100       String string0 = serviceInformation0.getSubscriberGlobalId();
101       assertNull(string0);
102   }
103
104   @Test(timeout = 4000)
105   public void test11()  throws Throwable  {
106       ServiceInformation serviceInformation0 = new ServiceInformation();
107       String string0 = serviceInformation0.getServiceType();
108       assertNull(string0);
109   }
110
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);
117   }
118 }