diff options
Diffstat (limited to 'bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResourceESTest.java')
-rw-r--r-- | bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResourceESTest.java | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResourceESTest.java b/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResourceESTest.java index 85a7f341f2..c1dccfcb2b 100644 --- a/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResourceESTest.java +++ b/bpmn/MSOURN-plugin/src/test/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResourceESTest.java @@ -1,42 +1,42 @@ -/* - * This file was automatically generated by EvoSuite - * Mon Nov 14 13:48:27 GMT 2016 - */ - -package org.openecomp.camunda.bpmn.plugin.urnmap.resources; - -import org.junit.Test; - -import static org.junit.Assert.*; -import static org.evosuite.shaded.org.mockito.Mockito.*; - -import javax.servlet.ServletContext; -import javax.ws.rs.core.HttpHeaders; -import javax.ws.rs.core.UriInfo; - -import org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginRootResource; -import org.evosuite.runtime.EvoRunner; -import org.evosuite.runtime.EvoRunnerParameters; -import org.evosuite.runtime.ViolatedAssumptionAnswer; -import org.evosuite.runtime.javaee.injection.Injector; -import org.junit.runner.RunWith; -import org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNMapPluginRootResource; -import org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNResource; - -@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) -public class URNMapPluginRootResourceESTest extends URNMapPluginRootResourceESTestscaffolding { - - @Test(timeout = 4000) - public void test0() throws Throwable { - URNMapPluginRootResource uRNMapPluginRootResource0 = new URNMapPluginRootResource(); - HttpHeaders httpHeaders0 = mock(HttpHeaders.class, new ViolatedAssumptionAnswer()); - Injector.inject(uRNMapPluginRootResource0, (Class<?>) AbstractAppPluginRootResource.class, "headers", (Object) httpHeaders0); - ServletContext servletContext0 = mock(ServletContext.class, new ViolatedAssumptionAnswer()); - Injector.inject(uRNMapPluginRootResource0, (Class<?>) AbstractAppPluginRootResource.class, "servletContext", (Object) servletContext0); - UriInfo uriInfo0 = mock(UriInfo.class, new ViolatedAssumptionAnswer()); - Injector.inject(uRNMapPluginRootResource0, (Class<?>) AbstractAppPluginRootResource.class, "uriInfo", (Object) uriInfo0); - Injector.validateBean(uRNMapPluginRootResource0, (Class<?>) URNMapPluginRootResource.class); - URNResource uRNResource0 = uRNMapPluginRootResource0.getProcessInstanceResource("}+njRy')#n?K^"); - assertNotNull(uRNResource0); - } -} +/*
+ * This file was automatically generated by EvoSuite
+ * Mon Nov 14 13:48:27 GMT 2016
+ */
+
+package org.openecomp.camunda.bpmn.plugin.urnmap.resources;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+import static org.evosuite.shaded.org.mockito.Mockito.*;
+
+import javax.servlet.ServletContext;
+import javax.ws.rs.core.HttpHeaders;
+import javax.ws.rs.core.UriInfo;
+
+import org.camunda.bpm.webapp.plugin.resource.AbstractAppPluginRootResource;
+import org.evosuite.runtime.EvoRunner;
+import org.evosuite.runtime.EvoRunnerParameters;
+import org.evosuite.runtime.ViolatedAssumptionAnswer;
+import org.evosuite.runtime.javaee.injection.Injector;
+import org.junit.runner.RunWith;
+import org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNMapPluginRootResource;
+import org.openecomp.camunda.bpmn.plugin.urnmap.resources.URNResource;
+
+@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
+public class URNMapPluginRootResourceESTest extends URNMapPluginRootResourceESTestscaffolding {
+
+ @Test(timeout = 4000)
+ public void test0() throws Throwable {
+ URNMapPluginRootResource uRNMapPluginRootResource0 = new URNMapPluginRootResource();
+ HttpHeaders httpHeaders0 = mock(HttpHeaders.class, new ViolatedAssumptionAnswer());
+ Injector.inject(uRNMapPluginRootResource0, (Class<?>) AbstractAppPluginRootResource.class, "headers", (Object) httpHeaders0);
+ ServletContext servletContext0 = mock(ServletContext.class, new ViolatedAssumptionAnswer());
+ Injector.inject(uRNMapPluginRootResource0, (Class<?>) AbstractAppPluginRootResource.class, "servletContext", (Object) servletContext0);
+ UriInfo uriInfo0 = mock(UriInfo.class, new ViolatedAssumptionAnswer());
+ Injector.inject(uRNMapPluginRootResource0, (Class<?>) AbstractAppPluginRootResource.class, "uriInfo", (Object) uriInfo0);
+ Injector.validateBean(uRNMapPluginRootResource0, (Class<?>) URNMapPluginRootResource.class);
+ URNResource uRNResource0 = uRNMapPluginRootResource0.getProcessInstanceResource("}+njRy')#n?K^");
+ assertNotNull(uRNResource0);
+ }
+}
|