@Test
public void testDistributed() throws IOException {

    ExternalSecurityAnalysisConfig config = new ExternalSecurityAnalysisConfig();
    SecurityAnalysis analysis = new DistributedSecurityAnalysis(config, network, cm, Collections.emptyList(), 5);
    analysis.run(VariantManagerConstants.INITIAL_VARIANT_ID, new SecurityAnalysisParameters(), contingencies);
    checkInvocationOnExecutionHandler(workingDir);
    checkWorkingDirContent();
}