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); }
public void AttachPresenter(ICommentPresenter presenter) { _presenter = presenter; }