Initial OpenECOMP MSO commit
[so.git] / bpmn / MSOCoreBPMN / src / test / java / org / openecomp / mso / bpmn / core / WorkflowExceptionESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 11:35:37 GMT 2016
4  */
5
6 package org.openecomp.mso.bpmn.core;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10
11 import org.evosuite.runtime.EvoRunner;
12 import org.evosuite.runtime.EvoRunnerParameters;
13 import org.junit.runner.RunWith;
14
15 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
16 public class WorkflowExceptionESTest extends WorkflowExceptionESTestscaffolding {
17
18   @Test(timeout = 4000)
19   public void test0()  throws Throwable  {
20       WorkflowException workflowException0 = new WorkflowException("(YdK~.N3;c2C", 336, "(YdK~.N3;c2C");
21       workflowException0.getProcessKey();
22       assertEquals(336, workflowException0.getErrorCode());
23   }
24
25   @Test(timeout = 4000)
26   public void test1()  throws Throwable  {
27       WorkflowException workflowException0 = new WorkflowException("", 0, "");
28       workflowException0.getProcessKey();
29       assertEquals(0, workflowException0.getErrorCode());
30   }
31
32   @Test(timeout = 4000)
33   public void test2()  throws Throwable  {
34       WorkflowException workflowException0 = new WorkflowException((String) null, 0, "^Y:");
35       String string0 = workflowException0.getErrorMessage();
36       assertEquals(0, workflowException0.getErrorCode());
37       assertNotNull(string0);
38   }
39
40   @Test(timeout = 4000)
41   public void test3()  throws Throwable  {
42       WorkflowException workflowException0 = new WorkflowException("", 1216, "");
43       workflowException0.getErrorMessage();
44       assertEquals(1216, workflowException0.getErrorCode());
45   }
46
47   @Test(timeout = 4000)
48   public void test4()  throws Throwable  {
49       WorkflowException workflowException0 = new WorkflowException("", 0, "");
50       int int0 = workflowException0.getErrorCode();
51       assertEquals(0, int0);
52   }
53
54   @Test(timeout = 4000)
55   public void test5()  throws Throwable  {
56       WorkflowException workflowException0 = new WorkflowException((String) null, (-1911), (String) null);
57       int int0 = workflowException0.getErrorCode();
58       assertEquals((-1911), int0);
59   }
60
61   @Test(timeout = 4000)
62   public void test6()  throws Throwable  {
63       WorkflowException workflowException0 = new WorkflowException((String) null, 336, (String) null);
64       workflowException0.getErrorMessage();
65       assertEquals(336, workflowException0.getErrorCode());
66   }
67
68   @Test(timeout = 4000)
69   public void test7()  throws Throwable  {
70       WorkflowException workflowException0 = new WorkflowException((String) null, 336, (String) null);
71       int int0 = workflowException0.getErrorCode();
72       assertEquals(336, int0);
73   }
74
75   @Test(timeout = 4000)
76   public void test8()  throws Throwable  {
77       WorkflowException workflowException0 = new WorkflowException((String) null, 336, (String) null);
78       workflowException0.getProcessKey();
79       assertEquals(336, workflowException0.getErrorCode());
80   }
81
82   @Test(timeout = 4000)
83   public void test9()  throws Throwable  {
84       WorkflowException workflowException0 = new WorkflowException((String) null, 336, (String) null);
85       String string0 = workflowException0.toString();
86       assertEquals("WorkflowException[processKey=null,errorCode=336,errorMessage=null]", string0);
87   }
88 }