@Test
public void testProcessUploadedFileShouldGetFileNameFromPathWhichContainsSlash() {

    //GIVEN
    given(stubResourcePathProvider.getTemplatesPathAsString()).willReturn("");
    //WHEN
    underTest.processUploadedFile(resource, "some-content-type", "stub-template", FILE_PATH_W_SLASH);
    //THEN
    verify(fileWriter).write(resource, "/" + FILE_PATH, EXCEPTION_MESSAGE);
}