public void replaceData(int index, T newScesimData) {
        scesimData.set(index, newScesimData);
    }
@Test
    public void replaceData() {
        final Scenario replaced = model.getDataByIndex(3);
        final Scenario replacement = new Scenario();
        
        model.replaceData(3, replacement);
        
        assertThat(model.scesimData).hasSize(SCENARIO_DATA).doesNotContain(replaced);
        assertThat(model.scesimData.get(3)).isEqualTo(replacement);
    }