@Test(expectedExceptions = CannotUploadExternalResourceException.class)
public void testProcessUploadedFileShouldThrowExceptionWhenUploadedStubConfigContentTypeIsWrong() {

    //GIVEN in setUp
    //WHEN
    underTest.processUploadedFile(resource, OCTET_STREAM_CONTENT_TYPE, "stub-configuration", FILE_PATH);
    //THEN exception is thrown
}