@Override
            public int getStatusCode(RecordedRequest request) {
                return request.getHeader(StandardHttpHeaders.PROXY_AUTHORIZATION) != null ? 200 : 407;
            }
Forked the upstream test case and wrapped client.sendAsync() with try-catch.
kubernetes/src/test/java/com/linecorp/armeria/client/kubernetes/ArmeriaHttpClientProxyTest.java