Initial OpenECOMP MSO commit
[so.git] / bpmn / MSOCoreBPMN / src / test / java / org / openecomp / mso / bpmn / core / mybatis / URNMappingESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 11:33:04 GMT 2016
4  */
5
6 package org.openecomp.mso.bpmn.core.mybatis;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10 import static org.evosuite.runtime.EvoAssertions.*;
11
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
15
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
17 public class URNMappingESTest extends URNMappingESTestscaffolding {
18
19   @Test(timeout = 4000)
20   public void test00()  throws Throwable  {
21       String string0 = URNMapping.createIdentifierFromURN("!`OYz|WztoeK|A&=&M");
22       assertEquals("URN_OYz_WztoeK_A_M", string0);
23   }
24
25   @Test(timeout = 4000)
26   public void test01()  throws Throwable  {
27       URNMapping uRNMapping0 = new URNMapping();
28       uRNMapping0.setValue("=F'A%");
29       String string0 = uRNMapping0.getValue();
30       assertEquals("=F'A%", string0);
31   }
32
33   @Test(timeout = 4000)
34   public void test02()  throws Throwable  {
35       URNMapping uRNMapping0 = new URNMapping();
36       uRNMapping0.setValue("");
37       String string0 = uRNMapping0.getValue();
38       assertEquals("", string0);
39   }
40
41   @Test(timeout = 4000)
42   public void test03()  throws Throwable  {
43       URNMapping uRNMapping0 = new URNMapping();
44       uRNMapping0.setRev("");
45       String string0 = uRNMapping0.getRev();
46       assertEquals("", string0);
47   }
48
49   @Test(timeout = 4000)
50   public void test04()  throws Throwable  {
51       URNMapping uRNMapping0 = new URNMapping();
52       uRNMapping0.setName("");
53       String string0 = uRNMapping0.getName();
54       assertEquals("", string0);
55   }
56
57   @Test(timeout = 4000)
58   public void test05()  throws Throwable  {
59       // Undeclared exception!
60       try { 
61         URNMapping.createIdentifierFromURN((String) null);
62         fail("Expecting exception: NullPointerException");
63       
64       } catch(NullPointerException e) {
65          //
66          // no message in exception (getMessage() returned null)
67          //
68          verifyException("org.openecomp.mso.bpmn.core.mybatis.URNMapping", e);
69       }
70   }
71
72   @Test(timeout = 4000)
73   public void test06()  throws Throwable  {
74       String string0 = URNMapping.createIdentifierFromURN("mfJ\"%euO;@S_Xm");
75       assertEquals("URN_mfJ_euO_S_Xm", string0);
76   }
77
78   @Test(timeout = 4000)
79   public void test07()  throws Throwable  {
80       URNMapping uRNMapping0 = new URNMapping();
81       uRNMapping0.setRev(":pMWjfl,zq_IA");
82       String string0 = uRNMapping0.getRev();
83       assertEquals(":pMWjfl,zq_IA", string0);
84   }
85
86   @Test(timeout = 4000)
87   public void test08()  throws Throwable  {
88       URNMapping uRNMapping0 = new URNMapping();
89       String string0 = uRNMapping0.getName();
90       assertNull(string0);
91   }
92
93   @Test(timeout = 4000)
94   public void test09()  throws Throwable  {
95       URNMapping uRNMapping0 = new URNMapping();
96       String string0 = uRNMapping0.getRev();
97       assertNull(string0);
98   }
99
100   @Test(timeout = 4000)
101   public void test10()  throws Throwable  {
102       URNMapping uRNMapping0 = new URNMapping();
103       String string0 = uRNMapping0.getValue();
104       assertNull(string0);
105   }
106
107   @Test(timeout = 4000)
108   public void test11()  throws Throwable  {
109       URNMapping uRNMapping0 = new URNMapping();
110       uRNMapping0.setName("c<");
111       String string0 = uRNMapping0.getName();
112       assertEquals("c<", string0);
113   }
114 }