public void SetUp() { _viewMock = new Mock<IDefaultView>(); _userStateMock = new Mock<IUserState>(); _presenter = new DefaultPresenter(_viewMock.Object, _userStateMock.Object); }
protected void Page_Load(object sender, EventArgs e) { _presenter = ServiceLocator.DefaultPresenter(this); _presenter.HandlePageLoad(); }