### Question:
RequestBuilder { public byte[] getForBinary(String url) throws Exception { return downloadToBinary(createExecutor(url)); } RequestBuilder(RequestExecutorFactory factory); byte[] getForBinary(String url); String getForText(String url); byte[] postForBinary(String url, Map<String, String> params); String postForText(String url, Map<String, String> params); String rawPostForText(String url, byte[] data); String rawPostForText(String url, byte[] data, Map<String, String> extraHeaders); String uploadFileForTextDownload(String url, Map<String, String> params, String fileField, byte[] data);  }### Answer:
@Test public void getForBinaryCreatesExecutorWithCorrectUrlAndCredentials() throws Exception { String url = "my_url"; builder.getForBinary(url); verifyUrlAndCredentials(url); }