package ${package};

import io.quarkus.test.junit.QuarkusTest;
import io.restassured.RestAssured;
import org.junit.jupiter.api.Test;

import static org.hamcrest.Matchers.equalTo;

@QuarkusTest
public class GreetingTest
{
    @Test
    public void testJaxrs() {
        RestAssured.when().get("/hello").then()
                .contentType("text/plain")
                .body(equalTo("hello jaxrs"));
    }

    @Test
    public void testServlet() {
        RestAssured.when().get("/servlet/hello").then()
                .contentType("text/plain")
                .body(equalTo("hello servlet"));
    }

    @Test
    public void testVertx() {
        RestAssured.when().get("/vertx/hello").then()
                .contentType("text/plain")
                .body(equalTo("hello vertx"));
    }

    @Test
    public void testFunqy() {
        RestAssured.when().get("/funqyHello").then()
                .contentType("text/plain")
                .body(equalTo("hello funqy"));
    }

}

@@ -906,33 +906,39 @@
 ontentType(%22
-text/plai
+application/jso
 n%22)%0A        
@@ -956,24 +956,26 @@
 dy(equalTo(%22
+%5C%22
 hello funqy%22
@@ -973,16 +973,18 @@
 lo funqy
+%5C%22
 %22));%0A   

Patch Funqy contentType json