2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 11:28:11 GMT 2016
6 package org.openecomp.mso.bpmn.core.json;
9 import static org.junit.Assert.*;
11 import java.util.Iterator;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.json.JSONObject;
15 import org.junit.runner.RunWith;
17 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
18 public class JsonUtilsESTest extends JsonUtilsESTestscaffolding {
21 public void test00() throws Throwable {
22 String string0 = JsonUtils.updJsonValue((String) null, "#", "#");
27 public void test01() throws Throwable {
28 String string0 = JsonUtils.getJsonValueForKey((JSONObject) null, "LPZc4`q5w]IQMS.^'3");
33 public void test02() throws Throwable {
34 String string0 = JsonUtils.getJsonParamValue("", ":bnv,&jl3bK", "");
39 public void test03() throws Throwable {
40 String string0 = JsonUtils.getJsonParamValue("", "", "tuw[9j$Sz");
45 public void test04() throws Throwable {
46 String string0 = JsonUtils.getJsonValue((String) null, "");
51 public void test05() throws Throwable {
52 String string0 = JsonUtils.addJsonValue((String) null, (String) null, (String) null);
57 public void test06() throws Throwable {
58 String string0 = JsonUtils.xml2json("", (Boolean) null);
63 public void test07() throws Throwable {
64 String string0 = JsonUtils.xml2json((String) null);
69 public void test08() throws Throwable {
70 String string0 = JsonUtils.updJsonValue("tV a^wGCAwX", "tV a^wGCAwX", "tV a^wGCAwX");
71 assertEquals("tV a^wGCAwX", string0);
75 public void test09() throws Throwable {
76 String string0 = JsonUtils.updJsonValue("", "", "");
77 assertEquals("", string0);
81 public void test10() throws Throwable {
82 Boolean boolean0 = Boolean.TRUE;
83 String string0 = JsonUtils.json2xml("", boolean0);
88 public void test11() throws Throwable {
89 String string0 = JsonUtils.getJsonValueForKey("java.io.StringWriter@0000000003", "#");
94 public void test12() throws Throwable {
95 Iterator<String> iterator0 = JsonUtils.getJsonIterator((String) null);
96 assertNull(iterator0);
100 public void test13() throws Throwable {
101 String string0 = JsonUtils.delJsonValue("java.io.StringWriter@0000000003", "java.io.StringWriter@0000000003");
102 assertNotNull(string0);
105 @Test(timeout = 4000)
106 public void test14() throws Throwable {
107 String string0 = JsonUtils.delJsonValue("", (String) null);
108 assertEquals("", string0);
111 @Test(timeout = 4000)
112 public void test15() throws Throwable {
113 Boolean boolean0 = new Boolean(true);
114 String string0 = JsonUtils.xml2json("Y~N~%]", boolean0);
115 assertNotNull(string0);
118 @Test(timeout = 4000)
119 public void test16() throws Throwable {
120 String string0 = JsonUtils.delJsonValue((String) null, "/Y");
124 @Test(timeout = 4000)
125 public void test17() throws Throwable {
126 String string0 = JsonUtils.updJsonValue((String) null, (String) null, "/Y");
130 @Test(timeout = 4000)
131 public void test18() throws Throwable {
132 String string0 = JsonUtils.addJsonValue("java.io.StringWriter@0000000006", "/Y", (String) null);
136 @Test(timeout = 4000)
137 public void test19() throws Throwable {
138 Boolean boolean0 = JsonUtils.jsonValueExists("getJsonValueForKey(): found value=", "/Y");
139 String string0 = JsonUtils.xml2json("getJsonValueForKey(): found value=", boolean0);
140 assertNotNull(string0);
143 @Test(timeout = 4000)
144 public void test20() throws Throwable {
145 String string0 = JsonUtils.json2xml(")?Fx+Bu:)1&$EZEmzoV");
149 @Test(timeout = 4000)
150 public void test21() throws Throwable {
151 String string0 = JsonUtils.xml2json("java.io.StringWriter@0000000006");
152 assertNotNull(string0);
155 @Test(timeout = 4000)
156 public void test22() throws Throwable {
157 Iterator<String> iterator0 = JsonUtils.getJsonIterator("{+%2:*}
\7f4");
158 assertNotNull(iterator0);
161 @Test(timeout = 4000)
162 public void test23() throws Throwable {
163 JsonUtils jsonUtils0 = new JsonUtils();