public void SetUp( ) { mockery = new MockRepository( ); mockMapper = mockery.DynamicMock <ICustomerRegistrationPresentationMapper>( ); mockView = mockery.DynamicMock <ICustomerRegistrationView>( ); mockTask = mockery.DynamicMock <IRegistrationTasks>( ); }
public CustomerRegistrationPresenter(ICustomerRegistrationView view, ICustomerRegistrationPresentationMapper mapper, IRegistrationTasks task) { _view = view; _mapper = mapper; _task = task; }