simulator.addRoom(room);
}
@Test
public void testSetupAndRunSimulation() {
SmartRoomSimulator simulator = new SmartRoomSimulator();
Room room = new Room();
simulator.addRoom(room);
HeatingActuator heatingActuator = new HeatingActuator();
TemperatureSensor temperatureSensor = new TemperatureSensor();
HeatingController heatingController = new HeatingController();
heatingController.attachActuator(heatingActuator);
heatingController.attachSensor(temperatureSensor);
room.addActuator(heatingActuator);
room.addSensor(temperatureSensor);
room.addController(heatingController);
simulator.startSimulation();
}