コード例 #1
0
 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);
 }
コード例 #2
0
 public void AttachPresenter(IImportObserverSetPresenter presenter)
 {
     _presenter = presenter;
 }