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