public void Setup() { _mockery = new MockRepository( ); task = _mockery.DynamicMock <ILeaseTasks>( ); mockRequest = _mockery.DynamicMock <IHttpRequest>( ); mockView = _mockery.DynamicMock <ICurrentLeasesView>( ); }
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 LeaseWebServices(ILeaseTasks underlyingTask) { _underlyingTask = underlyingTask; }
public CurrentLeasesPresenter(ICurrentLeasesView view, IHttpRequest request, ILeaseTasks task) { _view = view; _request = request; _task = task; }