### Question:
RequestBuilder { public String rawPostForText(String url, byte[] data) throws Exception { return downloadToText(createExecutor(makeRawPostRequest(url, data))); } 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 rawPostForTextCreatesExecutorWithCorrectRequestAndCredentials() throws Exception { String url = "my_url"; builder.rawPostForText(url, new byte[0]); verifyRequestAndCredentials(url); }
@Test public void rawPostForTextWithExtraHeadersCreatesExecutorWithCorrectRequestAndCredentials() throws Exception { String url = "my_url"; builder.rawPostForText(url, new byte[0], new HashMap<String, String>()); verifyRequestAndCredentials(url); }