protected override void Context() { _view = A.Fake <IRandomPopulationSettingsView>(); _populationSettingsMapper = A.Fake <IPopulationSettingsDTOMapper>(); _randomPopulationFactory = A.Fake <IRandomPopulationFactory>(); _lazyLoadTask = A.Fake <ILazyLoadTask>(); sut = new RandomPopulationSettingsPresenter(_view, _randomPopulationFactory, _populationSettingsMapper, _lazyLoadTask); }
public RandomPopulationSettingsPresenter(IRandomPopulationSettingsView view, IRandomPopulationFactory randomPopulationFactory, IPopulationSettingsDTOMapper populationSettingsMapper, ILazyLoadTask lazyLoadTask) : base(view) { _randomPopulationFactory = randomPopulationFactory; _populationSettingsMapper = populationSettingsMapper; _lazyLoadTask = lazyLoadTask; }