@Test
public void replaceData() {

    assertEquals(SCENARIO_DATA, abstractScesimModelSpy.scesimData.size());
    final Scenario replaced = abstractScesimModelSpy.getDataByIndex(3);
    final Scenario replacement = new Scenario();
    abstractScesimModelSpy.replaceData(3, replacement);
    assertEquals(SCENARIO_DATA, abstractScesimModelSpy.scesimData.size());
    assertFalse(abstractScesimModelSpy.scesimData.contains(replaced));
    assertEquals(replacement, abstractScesimModelSpy.scesimData.get(3));
}