I am trying to mock org.apache.commons.httpclient.HttpClient in my unit tests, but unable to do so. How can I do this?
I have tried this, https://blogs.perficient.com/2019/01/23/how-to-test-apache-httpclient-in-the-context-of-aem/, but it does not work.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @AEMWizard ,
I have tried to answer the same in another thread. Please check the below thread if that satisfy your requirement and let me know if there is anything.
Thanks,
Ravi Joshi
Hi @AEMWizard ,
I have tried to answer the same in another thread. Please check the below thread if that satisfy your requirement and let me know if there is anything.
Thanks,
Ravi Joshi