public void Setup() { _mockery = new MockRepository( ); _mockTask = _mockery.DynamicMock <IRegistrationTasks>( ); _mockRequest = _mockery.DynamicMock <IHttpRequest>( ); _mockView = _mockery.DynamicMock <IRegisteredBoatsView>( ); }
public ViewRegisteredBoatsPresenter(IRegisteredBoatsView view) : this(view, Resolve.DependencyFor <IRegistrationTasks>( ), Resolve.DependencyFor <IHttpRequest>( )) { }
public ViewRegisteredBoatsPresenter(IRegisteredBoatsView view, IRegistrationTasks task, IHttpRequest request) { _view = view; _task = task; _request = request; }