@Test
public void cleanReadOnlyColumn() {

    Simulation simulation = new Simulation();
    ScesimModelDescriptor simulationDescriptor = simulation.getScesimModelDescriptor();
    FactMapping test1 = simulationDescriptor
            .addFactMapping(FactIdentifier.create("test1", String.class.getCanonicalName()),
                            ExpressionIdentifier.create("", FactMappingType.GIVEN));
    FactMapping test2 = simulationDescriptor
            .addFactMapping(FactIdentifier.create("test2", String.class.getCanonicalName()),
                            ExpressionIdentifier.create("", FactMappingType.GIVEN));
    test1.addExpressionElement("test", String.class.getCanonicalName());
    Scenario scenario = simulation.addData();
    scenario.addMappingValue(test1.getFactIdentifier(), test1.getExpressionIdentifier(), LOWER_CASE_VALUE);
    scenario.addMappingValue(test2.getFactIdentifier(), test2.getExpressionIdentifier(), LOWER_CASE_VALUE);
    presenterSpy.cleanReadOnlyColumn(simulation);
    assertNotNull(scenario.getFactMappingValue(test1.getFactIdentifier(), test1.getExpressionIdentifier()).get().getRawValue());
    assertNull(scenario.getFactMappingValue(test2.getFactIdentifier(), test2.getExpressionIdentifier()).get().getRawValue());
}