@Test
    void testWebsocketHandshakeFailure() {
        final CompletableFuture<WebSocket> startedFuture = client.getHttpClient().newWebSocketBuilder()
                                                                 .uri(URI.create(webSocketMasterUrl()))
                                                                 .buildAsync(new Listener() {});

        assertThrows(WebSocketHandshakeException.class, () -> {
            try {
                startedFuture.get(10, TimeUnit.SECONDS);
            } catch (ExecutionException e) {
                throw e.getCause();
            }
        });
    }
Tests a {@link HttpClient} at or below the {@link KubernetesClient} level.
kubernetes/src/test/java/com/linecorp/armeria/client/kubernetes/ArmeriaHttpClientTest.java