protected override void Context() { _view = A.Fake <IEditObserverSetView>(); _subPresenterManager = SubPresenterHelper.Create <IObserverSetItemPresenter>(); _observerSet = new ObserverSet().WithName("TOTO"); sut = new EditObserverSetPresenter(_view, _subPresenterManager); _importObserverSetSettings = _subPresenterManager.CreateFake(ObserverSetItems.ImportSettings); _importObserverSetSettings.ShowFilePath = true; sut.Edit(_observerSet); }
public void AttachPresenter(IImportObserverSetPresenter presenter) { _presenter = presenter; }