@Test
    void supportedResponseTypeWithInvalid() {
        final HttpClient httpClient = client.getHttpClient();
        final HttpRequest request = httpClient.newHttpRequestBuilder()
                                              .uri(URI.create(
                                                      client.getConfiguration().getMasterUrl() + "type"))
                                              .build();
        assertThatIllegalArgumentException()
                .isThrownBy(() -> httpClient.sendAsync(request, Boolean.class))
                .withMessageStartingWith("Unsupported response type: ")
                .withMessageContaining("Boolean");
    }
Tests a {@link HttpClient} at or below the {@link KubernetesClient} level.
kubernetes/src/test/java/com/linecorp/armeria/client/kubernetes/ArmeriaHttpClientTest.java