protected override void Context() { _buildingBlockTask = A.Fake <IBuildingBlockTask>(); _importPopulationPresenter = A.Fake <IImportPopulationPresenter>(); _applicationController = A.Fake <IApplicationController>(); A.CallTo(() => _applicationController.Start <IImportPopulationPresenter>()).Returns(_importPopulationPresenter); sut = new ImportPopulationCommand(_applicationController, _buildingBlockTask); }
public void AttachPresenter(IImportPopulationPresenter presenter) { WizardPresenter = presenter; }