### Question:
HttpResponse { public static Builder builder() { return new Builder(); } private  HttpResponse(String statusText, int statusCode, Map<String, String> headers,
            InputStream rawContent); Map<String, String> getHeaders(); InputStream getContent(); InputStream getRawContent(); String getStatusText(); int getStatusCode(); static Builder builder();  }### Answer:
@Test public void testBuilder() throws Exception { builder = HttpResponse.builder() .statusCode(statusCode) .statusText(statusText) .content(content); for (int i = 0; i < 10; i++) { builder.header("key" + i, "value" + i); } response = builder.build(); assertEquals("status text", statusText, response.getStatusText()); assertTrue("status code", statusCode == response.getStatusCode()); assertTrue("has headers", 10 == response.getHeaders().size()); assertEquals("content", content, response.getContent()); }