@Test public void testRead() { ValidatableResponse response = get(BASE_URL + "/myresource").then(); response.assertThat().statusCode(200); response.assertThat().body(equalTo("Got it!")); }
public String read(Request request, Response response) { return "Got it!"; }
MyResource { public String read(Request request, Response response) { return "Got it!"; } }
MyResource { public String read(Request request, Response response) { return "Got it!"; }  }
MyResource { public String read(Request request, Response response) { return "Got it!"; }  String read(Request request, Response response); Model create(Request request, Response response); }
MyResource { public String read(Request request, Response response) { return "Got it!"; }  String read(Request request, Response response); Model create(Request request, Response response);  }