public JourneyPlannerController() { this.tubeJourneyPlanner = new TubeJourneyPlanner(); this.stationValidator = new StationValidator(); }
public JourneyPlannerController(IJourneyPlanner tubeJourneyPlanner, IStationValidator stationValidator) { this.tubeJourneyPlanner = tubeJourneyPlanner; this.stationValidator = stationValidator; }
public void Arrange() { this.stationValidator = new StationValidator(); }