### Question:
RestAssuredHttpClient implements HttpClient { @Override public HttpResponse call(){ response = sendRequest(); log.info("Res Body: "+response.getBody().asString()); return response; } RestAssuredHttpClient(); @Override void build(HttpRequest request); @Override HttpResponse call(); @Override HttpResponse call(HttpRequest request); @Override void invokeRequestModifiers();  }### Answer:
@Test public void itShouldHead() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.HEAD); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }
@Test public void itShouldGet() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.GET); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }
@Test public void itShouldPost() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.POST); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }
@Test public void itShouldPut() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.PUT); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }
@Test public void itShouldPatch() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.PATCH); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }
@Test public void itShouldDelete() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.DELETE); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }
@Test public void itShouldOptions() { RestAssuredHttpClient client = new RestAssuredHttpClient(); HttpRequest req = buildDefaultRequest(); req.setHttpMethod(HttpMethod.OPTIONS); HttpResponse response = client.call(req); Assert.assertEquals(200, (int) new Integer(response.getStatusCode())); }