@Test
public void runTestWithScenarios() throws Exception {

    ScesimModelDescriptor simulationDescriptor = new ScesimModelDescriptor();
    List<ScenarioWithIndex> scenarios = new ArrayList<>();
    SimulationRunResult test = scenarioRunnerService.runTest("test",
                                                             mock(Path.class),
                                                             simulationDescriptor,
                                                             scenarios,
                                                             settingsLocal,
                                                             backgroundLocal);
    // The builder needs to be built for scesim tests.
    verify(builder).build();
    assertNotNull(test.getTestResultMessage());
    assertNotNull(test.getScenarioWithIndex());
    assertNotNull(test.getSimulationRunMetadata());
}