### Question:
HttpClientHttpContentCopier implements HttpContentCopier { @Override public void copy(String sourceUri, File destinationFile) { new FileHttpEntityCopier(destinationFile).retrieveRemoteContent(sourceUri); } HttpClientHttpContentCopier();  HttpClientHttpContentCopier(int totalConnectionsAllowed); @Override void startup(); @Override void shutdown(); @Override String getContentAsString(String sourceUri); @Override String getContentAsString(String sourceUri, Charset charset); @Override void copy(String sourceUri, File destinationFile); @Override void copyTo(String destinationUri, File source, String sourceParameterName, Map<String, String> params); @Override void copyTo(String destinationUri, InputStream source, String sourceFileName, String sourceParameterName,
      Map<String, String> params); @Override int getTotalConnectionsAllowed(); static final int TOTAL_CONNECTIONS_ALLOWED_DEFAULT; }### Answer:
@Test public void testCopyFromFailure() throws Exception { File destination = getTempFile(); String sourceUri = getUrlPrefix(); try { copier.copy(sourceUri + "error", destination); Assert.fail(); } catch (Exception e) { } testCopyFromSuccessfulTransfer(destination, sourceUri); }