Hi,
Is it feasible to mock HttpClient, with a mocking framework or with
custom implementations of the classes?
I would like to unit test my code that uses HttpClient, without going
out to the network (even if it's just localhost).
Thanks,
Miguel
-Original Message-
From: Miguel Paraz [mailto:mpa...@gmail.com]
Sent: Saturday, June 25, 2011 12:48 AM
To: HttpClient User Discussion
Subject: Feasibility of Mocking HttpClient
Hi,
Is it feasible to mock HttpClient, with a mocking framework or with
custom implementations of the
I think I found the issue. An exception is thrown by EntityUtils.toString():
java.io.UnsupportedEncodingException:
at
sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:52)
at java.io.InputStreamReader.init(InputStreamReader.java:83)
at
On 25 June 2011 17:34, KARR, DAVID (ATTSI) dk0...@att.com wrote:
-Original Message-
From: Miguel Paraz [mailto:mpa...@gmail.com]
Sent: Saturday, June 25, 2011 12:48 AM
To: HttpClient User Discussion
Subject: Feasibility of Mocking HttpClient
Hi,
Is it feasible to mock HttpClient,