context.setAttribute(ExecutionContext.HTTP_TARGET_HOST, this.target);
context.setAttribute(ExecutionContext.HTTP_PROXY_HOST, this.proxy);
context.setAttribute(ClientContext.TARGET_AUTH_STATE, this.targetState);
context.setAttribute(ClientContext.PROXY_AUTH_STATE, this.proxyState);
final HttpResponseInterceptor interceptor = new ResponseAuthCache();
interceptor.process(response, context);
final AuthCache authCache = (AuthCache) context.getAttribute(ClientContext.AUTH_CACHE);
Assert.assertNotNull(authCache);
Assert.assertSame(this.authscheme1, authCache.get(this.target));
Assert.assertSame(this.authscheme2, authCache.get(this.proxy));