public void SetUp( ) { mockery = new MockRepository( ); mockView = mockery.DynamicMock <IDockView>( ); mockTask = mockery.DynamicMock <ICatalogTasks>( ); mockRequest = mockery.DynamicMock <IHttpRequest>( ); }
public LeaseSlipPresenter(ILeaseSlipView view, IHttpRequest request, ICatalogTasks task, ILeaseTasks leaseTask, ILeaseRequestDtoFromHttpRequestMapper mapper) { _view = view; _request = request; _task = task; _leaseTask = leaseTask; _mapper = mapper; }
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>( ); }
public DockPresenter(IDockView view, IHttpRequest request, ICatalogTasks task) { _request = request; _view = view; _task = task; }
public void SetUp( ) { mockery = new MockRepository( ); mockTask = mockery.DynamicMock <ICatalogTasks>( ); mockView = mockery.DynamicMock <IAvailableSlipsView>( ); }
public AvailableSlipsCommand(IAvailableSlipsWebView view, ICatalogTasks task) { _view = view; _task = task; }
public AvailableSlipsPresenter(IAvailableSlipsView view, ICatalogTasks task) { this.view = view; this.task = task; }
public CatalogWebServices(ICatalogTasks underlyingTask) { _underlyingTask = underlyingTask; }
public void Setup() { _mockery = new MockRepository( ); _mockTask = _mockery.DynamicMock <ICatalogTasks>( ); _mockView = _mockery.DynamicMock <IAvailableSlipsWebView>( ); }