protected override void Context() { _individualTask = A.Fake <IIndividualTask>(); _applicationController = A.Fake <IApplicationController>(); _populationTask = A.Fake <IPopulationTask>(); _presenter = A.Fake <ISimulationSubjectSelectionPresenter>(); _buildingBlockTask = A.Fake <IBuildingBlockTask>(); A.CallTo(() => _applicationController.Start <ISimulationSubjectSelectionPresenter>()).Returns(_presenter); sut = new SimulationSubjectTask(_individualTask, _populationTask, _applicationController, _buildingBlockTask); }
public void AttachPresenter(ISimulationSubjectSelectionPresenter presenter) { _presenter = presenter; }