@Test
public void testProcessUploadedFileShouldReturnWhenJarUploaded() {

    //GIVEN
    given(stubResourcePathProvider.getJarPathAsString()).willReturn("");
    //WHEN
    String actual = underTest.processUploadedFile(resource, "some-content-type", "stub-jar", FILE_PATH);
    //THEN
    verify(fileWriter).write(resource, "/" + FILE_PATH, EXCEPTION_MESSAGE);
    assertEquals(actual, "External jar '" + FILE_PATH + "' was uploaded to Wilma.");
}