room.addController(controller);
room.addSensor(sensor);
double temperature = room.getLocalContext().getTemperature();
double previousTemperature = temperature;
while (temperature < targetTemperature) {
simulation.step();
previousTemperature = temperature;
temperature = room.getLocalContext().getTemperature();
Assert.assertTrue(temperature >= previousTemperature);
}
}