@Test
public void testProcessUploadedFileShouldReturnWhenConditionCheckerUploaded() {

    //GIVEN
    given(stubResourcePathProvider.getConditionCheckerPathAsString()).willReturn("");
    //WHEN
    String actual = underTest.processUploadedFile(resource, APPLICATION_JAVA, "stub-condition-checker", FILE_PATH);
    //THEN
    verify(fileWriter).write(resource, "/" + FILE_PATH, EXCEPTION_MESSAGE);
    assertEquals(actual, "External condition checker class '" + FILE_PATH + "' was uploaded to Wilma.");
}