Пример #1
0
 public void Setup()
 {
     _view = new Mock<IRegisterUserView>();
     _task = new Mock<IRegistrationTask>();
     _presenter = new RegisterUserPresenter(_view.Object, _task.Object);
     _presenter.Initailize();
 }
Пример #2
0
        protected override void OnInit(EventArgs e)
        {
            _presenter = new RegisterUserPresenter(this);

            base.OnInit(e);
        }