Esempio n. 1
0
 protected override void Context()
 {
     _commentPresenter      = A.Fake <ICommentPresenter>();
     _historyItemDTO        = A.Fake <IHistoryItemDTO>();
     _applicationController = A.Fake <IApplicationController>();
     A.CallTo(() => _applicationController.Start <ICommentPresenter>()).Returns(_commentPresenter);
     sut = new CommentTask(_applicationController);
 }
Esempio n. 2
0
 public void AttachPresenter(ICommentPresenter presenter)
 {
     _presenter = presenter;
 }