ClickResponse extends UserResponse<ClickResponse> { @Override public Builder toBuilder() { return newBuilder() .setExchange(getExchange()) .setHttpResponse(httpResponse().build().toBuilder()); } protected  ClickResponse(Exchange exchange, HttpResponse.Builder httpResponseBuilder); static Builder newBuilder(); @Override Builder toBuilder(); final URI getRedirectLocation(); final ClickResponse setRedirectLocation(URI redirectLocation); final ClickResponse setRedirectLocation(String redirectLocation);  }
@Test public void test() { ClickResponse resp1 = TestClickResponseBuilder.create().build(); ClickResponse.Builder resp1Builder = resp1.toBuilder(); TestUtil.testCommonMethods(resp1); TestUtil.testCommonMethods(resp1Builder); }