Thoppan / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 0 forks source link

Using @PrepareForTest breaks regular usage of apache httpclient 4.1.1/4.1.2/4.2 #393

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run attached maven project (mvn test)

What is the expected output? What do you see instead?
Expected: Google homepage is fetched.
Actual  : SSLInitializationFailure is thrown when executing a HttpPost.

What version of the product are you using? On what operating system?
Powermock 1.4.12
Windows 7
Java 1.6.0_25

Please provide any additional information below.
Attached project contains a single test case that fails, demonstrating the 
problem.

Original issue reported on code.google.com by da...@hartveld.com on 14 Jun 2012 at 2:51

Attachments:

GoogleCodeExporter commented 9 years ago
I am facing the same issue, did you find the solution? If so please do post it.

Original comment by bbro...@gmail.com on 12 Nov 2012 at 4:19