ImpressionResponse extends UserResponse<ImpressionResponse> { @Override public Builder toBuilder() { return newBuilder() .setExchange(getExchange()) .setHttpResponse(httpResponse().build().toBuilder()); } protected  ImpressionResponse(Exchange exchange, HttpResponse.Builder httpResponseBuilder); static Builder newBuilder(); @Override Builder toBuilder();  }
@Test public void test() { ImpressionResponse resp1 = TestImpressionResponseBuilder.create().build(); ImpressionResponse.Builder resp1Builder = resp1.toBuilder(); TestUtil.testCommonMethods(resp1); TestUtil.testCommonMethods(resp1Builder); }