/src/main/java/org/htmlunit/MockWebConnection.java
responseMap_.put( url.toString( ) , responseEntry) ;
responseMap_.put ( url.toExternalForm ( ) , responseEntry ) ;
} public void setResponse(final URL url, final String content, final int statusCode, final String statusMessage, final String contentType, final Charset charset, final List<NameValuePair> headers) { final RawResponseData responseEntry = buildRawResponseData(content, charset, statusCode, statusMessage, contentType, headers); <extra_id_0> } public void setThrowable(final URL url, final IOException throwable) { throwableMap_.put(url.toExternalForm(), throwable); } public void setResponse(final URL url, final byte[] content, final int statusCode, final String statusMessage, final String contentType,