ok2c commented on code in PR #929:
URL: 
https://github.com/apache/httpcomponents-client/pull/929#discussion_r4472988394


##########
httpclient5/src/test/java/org/apache/hc/client5/http/impl/classic/TestProtocolExec.java:
##########
@@ -75,19 +85,191 @@ class TestProtocolExec {
     @Mock
     private AuthenticationStrategy proxyAuthStrategy;
     @Mock
+    private AuthCache authCache;
+    @Mock
     private ExecChain chain;
     @Mock
     private ExecRuntime execRuntime;
 
+    private AtomicBoolean pathPrefixExtracted;
+    private Factory<HttpRequest, Supplier<String>> prefixExtractorFactory;
     private ProtocolExec protocolExec;
     private HttpHost target;
 
     @BeforeEach
     void setup() {
-        protocolExec = new ProtocolExec(targetAuthStrategy, proxyAuthStrategy, 
null, true);
+        pathPrefixExtracted = new AtomicBoolean();
+        prefixExtractorFactory = request -> () -> {

Review Comment:
   @parker89 Test case added.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to