public void handle(@NotNull YokeRequest request, @NotNull Handler<Object> next) {
request.response().end(new JsonObject().putString("hello", "world"));
}
});
MultiMap headers = new CaseInsensitiveMultiMap();
headers.add("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
headers.add("Accept-Encoding", "gzip,deflate,sdch");
new YokeTester(yoke).request("GET", "/", headers, new Handler<Response>() {
@Override
public void handle(Response resp) {
assertEquals(200, resp.getStatusCode());