@Test public void testPut_coverageOnly() { client.put("/", "json"); }
public JsonRestClientResponse put(String path, String someJson) throws ClientHandlerException { ClientResponse response; response = webResource.path(path) .accept(MediaType.APPLICATION_JSON_TYPE) .type(MediaType.APPLICATION_JSON_TYPE) .put(ClientResponse.class, someJson); return new JsonRestClientResponse(response); }
JsonRestClient { public JsonRestClientResponse put(String path, String someJson) throws ClientHandlerException { ClientResponse response; response = webResource.path(path) .accept(MediaType.APPLICATION_JSON_TYPE) .type(MediaType.APPLICATION_JSON_TYPE) .put(ClientResponse.class, someJson); return new JsonRestClientResponse(response); } }
JsonRestClient { public JsonRestClientResponse put(String path, String someJson) throws ClientHandlerException { ClientResponse response; response = webResource.path(path) .accept(MediaType.APPLICATION_JSON_TYPE) .type(MediaType.APPLICATION_JSON_TYPE) .put(ClientResponse.class, someJson); return new JsonRestClientResponse(response); } JsonRestClient(String uri, Integer connectTimeout, Integer readTimeout); }
JsonRestClient { public JsonRestClientResponse put(String path, String someJson) throws ClientHandlerException { ClientResponse response; response = webResource.path(path) .accept(MediaType.APPLICATION_JSON_TYPE) .type(MediaType.APPLICATION_JSON_TYPE) .put(ClientResponse.class, someJson); return new JsonRestClientResponse(response); } JsonRestClient(String uri, Integer connectTimeout, Integer readTimeout); String getHost(); JsonRestClientResponse get(String path); JsonRestClientResponse get(String path, MultivaluedMap<String, String> params); JsonRestClientResponse post(String path, String someJson); JsonRestClientResponse put(String path, String someJson); JsonRestClientResponse delete(String path); }
JsonRestClient { public JsonRestClientResponse put(String path, String someJson) throws ClientHandlerException { ClientResponse response; response = webResource.path(path) .accept(MediaType.APPLICATION_JSON_TYPE) .type(MediaType.APPLICATION_JSON_TYPE) .put(ClientResponse.class, someJson); return new JsonRestClientResponse(response); } JsonRestClient(String uri, Integer connectTimeout, Integer readTimeout); String getHost(); JsonRestClientResponse get(String path); JsonRestClientResponse get(String path, MultivaluedMap<String, String> params); JsonRestClientResponse post(String path, String someJson); JsonRestClientResponse put(String path, String someJson); JsonRestClientResponse delete(String path);  }