// 4.4 4.8 @Test public void testRepairTurbine() { assertEquals( "Result", false, presenter .repairTurbine()); // the turbine hasn't failed so repairTurbine() should return false // break the turbine List<PlantComponent> failedComponents = plant.getFailedComponents(); failedComponents.add(plant.getTurbine()); assertEquals( "Result", true, presenter .repairTurbine()); // the turbine is now broken so repairTurbine() should return true assertEquals( "Result", false, presenter .repairTurbine()); // the turbine is already being repaired so repairTurbine() should // return false again }