@Test
public void shouldCallTheProperTemplateFormatterUploadUrlWithTheGivenFile() {

    ArgumentCaptor<String> url = ArgumentCaptor.forClass(String.class);
    ArgumentCaptor<File> file = ArgumentCaptor.forClass(File.class);
    fileUpload.uploadTemplateFormatter(FILENAME, testFile);
    verify(client).uploadFile(url.capture(), file.capture());
    assertEquals(url.getValue(), RESPONSE_FORMATTER_UPLOAD_URL);
    assertEquals(file.getValue(), testFile);
}