Ejemplo n.º 1
0
 public void SetUp( )
 {
     mockery     = new MockRepository( );
     mockView    = mockery.DynamicMock <IDockView>( );
     mockTask    = mockery.DynamicMock <ICatalogTasks>( );
     mockRequest = mockery.DynamicMock <IHttpRequest>( );
 }
Ejemplo n.º 2
0
 public LeaseSlipPresenter(ILeaseSlipView view, IHttpRequest request, ICatalogTasks task, ILeaseTasks leaseTask,
                           ILeaseRequestDtoFromHttpRequestMapper mapper)
 {
     _view      = view;
     _request   = request;
     _task      = task;
     _leaseTask = leaseTask;
     _mapper    = mapper;
 }
Ejemplo n.º 3
0
        public void Setup()
        {
            _mockery        = new MockRepository( );
            _mockRequest    = _mockery.DynamicMock <IHttpRequest>( );
            _mockTask       = _mockery.DynamicMock <ICatalogTasks>( );
            _mockLeaseTasks = _mockery.DynamicMock <ILeaseTasks>( );
            _mockView       = _mockery.DynamicMock <ILeaseSlipView>( );

            _mockMapper = _mockery.DynamicMock <ILeaseRequestDtoFromHttpRequestMapper>( );
        }
Ejemplo n.º 4
0
 public DockPresenter(IDockView view, IHttpRequest request, ICatalogTasks task)
 {
     _request = request;
     _view    = view;
     _task    = task;
 }
Ejemplo n.º 5
0
 public void SetUp( )
 {
     mockery  = new MockRepository( );
     mockTask = mockery.DynamicMock <ICatalogTasks>( );
     mockView = mockery.DynamicMock <IAvailableSlipsView>( );
 }
Ejemplo n.º 6
0
 public AvailableSlipsCommand(IAvailableSlipsWebView view, ICatalogTasks task)
 {
     _view = view;
     _task = task;
 }
Ejemplo n.º 7
0
 public AvailableSlipsPresenter(IAvailableSlipsView view, ICatalogTasks task)
 {
     this.view = view;
     this.task = task;
 }
Ejemplo n.º 8
0
 public CatalogWebServices(ICatalogTasks underlyingTask)
 {
     _underlyingTask = underlyingTask;
 }
Ejemplo n.º 9
0
 public void Setup()
 {
     _mockery  = new MockRepository( );
     _mockTask = _mockery.DynamicMock <ICatalogTasks>( );
     _mockView = _mockery.DynamicMock <IAvailableSlipsWebView>( );
 }