2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 11:33:04 GMT 2016
6 package org.openecomp.mso.bpmn.core.mybatis;
9 import static org.junit.Assert.*;
10 import static org.evosuite.runtime.EvoAssertions.*;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
17 public class URNMappingESTest extends URNMappingESTestscaffolding {
20 public void test00() throws Throwable {
21 String string0 = URNMapping.createIdentifierFromURN("!`OYz|WztoeK|A&=&M");
22 assertEquals("URN_OYz_WztoeK_A_M", string0);
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);
34 public void test02() throws Throwable {
35 URNMapping uRNMapping0 = new URNMapping();
36 uRNMapping0.setValue("");
37 String string0 = uRNMapping0.getValue();
38 assertEquals("", string0);
42 public void test03() throws Throwable {
43 URNMapping uRNMapping0 = new URNMapping();
44 uRNMapping0.setRev("");
45 String string0 = uRNMapping0.getRev();
46 assertEquals("", string0);
50 public void test04() throws Throwable {
51 URNMapping uRNMapping0 = new URNMapping();
52 uRNMapping0.setName("");
53 String string0 = uRNMapping0.getName();
54 assertEquals("", string0);
58 public void test05() throws Throwable {
59 // Undeclared exception!
61 URNMapping.createIdentifierFromURN((String) null);
62 fail("Expecting exception: NullPointerException");
64 } catch(NullPointerException e) {
66 // no message in exception (getMessage() returned null)
68 verifyException("org.openecomp.mso.bpmn.core.mybatis.URNMapping", e);
73 public void test06() throws Throwable {
74 String string0 = URNMapping.createIdentifierFromURN("mfJ\"%euO;@S_Xm");
75 assertEquals("URN_mfJ_euO_S_Xm", string0);
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);
87 public void test08() throws Throwable {
88 URNMapping uRNMapping0 = new URNMapping();
89 String string0 = uRNMapping0.getName();
94 public void test09() throws Throwable {
95 URNMapping uRNMapping0 = new URNMapping();
96 String string0 = uRNMapping0.getRev();
100 @Test(timeout = 4000)
101 public void test10() throws Throwable {
102 URNMapping uRNMapping0 = new URNMapping();
103 String string0 = uRNMapping0.getValue();
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);