public static Builder builder() {
    return new AutoValue_HttpRequest.Builder();
  }
@Test
  public void build_whenGetRequestHasRequestBody_throwsIllegalStateException() {
    assertThrows(
        IllegalStateException.class,
        () ->
            HttpRequest.builder()
                .setMethod(HttpMethod.GET)
                .setUrl("http://localhost")
                .setHeaders(HttpHeaders.builder().build())
                .setRequestBody(ByteString.EMPTY)
                .build());
  }