2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 11:35:37 GMT 2016
6 package org.openecomp.mso.bpmn.core;
9 import static org.junit.Assert.*;
11 import org.evosuite.runtime.EvoRunner;
12 import org.evosuite.runtime.EvoRunnerParameters;
13 import org.junit.runner.RunWith;
15 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
16 public class WorkflowExceptionESTest extends WorkflowExceptionESTestscaffolding {
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());
26 public void test1() throws Throwable {
27 WorkflowException workflowException0 = new WorkflowException("", 0, "");
28 workflowException0.getProcessKey();
29 assertEquals(0, workflowException0.getErrorCode());
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);
41 public void test3() throws Throwable {
42 WorkflowException workflowException0 = new WorkflowException("", 1216, "");
43 workflowException0.getErrorMessage();
44 assertEquals(1216, workflowException0.getErrorCode());
48 public void test4() throws Throwable {
49 WorkflowException workflowException0 = new WorkflowException("", 0, "");
50 int int0 = workflowException0.getErrorCode();
51 assertEquals(0, int0);
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);
62 public void test6() throws Throwable {
63 WorkflowException workflowException0 = new WorkflowException((String) null, 336, (String) null);
64 workflowException0.getErrorMessage();
65 assertEquals(336, workflowException0.getErrorCode());
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);
76 public void test8() throws Throwable {
77 WorkflowException workflowException0 = new WorkflowException((String) null, 336, (String) null);
78 workflowException0.getProcessKey();
79 assertEquals(336, workflowException0.getErrorCode());
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);