@Test
public void testIOExceptionIsHandledWhenRemovingUnreferencedFiles() {

    Path nonExisting = sourcePath.resolve("non/existing/sub/folder");
    sourcesExporter = new SourcesExporter(nonExisting);
    sourcesExporter.removeUnreferencedFiles(Collections.emptyList());
}