public void InitMVP()
 {
     controller = new MockOrdersController();
     view = new MockPreview();
     presenter = new OrderReviewPresenter(controller);
     presenter.View = view;
 }
        public void InitMVP()
        {
            view = new MockConfirmationView();
            controller = new MockOrdersController();
            presenter = new OrderConfirmationPresenter(controller);

            presenter.View = view;
        }
        public void InitMVP()
        {
            view = new MockOrderEntry();
            controller = new MockOrdersController();
            presenter = new OrderEntryPresenter(controller);

            presenter.View = view;
        }
        public void InitMVP()
        {
            view = new MockSavedDrafts();
            ordersService = new MockOrdersService();
            ordersController = new MockOrdersController();
            ordersConverter = new OrderManagement.Orders.Converters.OrdersConverter(new MockCustomerService(), new MockEmployeeService(), new MockGenericConverter<Employee, EmployeeDisplay>());
            httpContextLocatorService = new MockHttpContextLocatorService();
            presenter = new SavedDraftsPresenter(ordersService, ordersController, ordersConverter, httpContextLocatorService);

            presenter.View = view;
        }
        public void InitMVP()
        {
            view = new MockOrderInformation();
            controller = new MockOrdersController();
            employeeService = new MockEmployeeService();
            customerService = new MockCustomerService();
            employeeConverter = new MockGenericConverter<Employee, EmployeeDisplay>();
            postalInfoLookupService = new MockPostalInfoLookupService();
            presenter = new OrderInformationPresenter(controller, employeeService, customerService, postalInfoLookupService, employeeConverter);

            presenter.View = view;
        }
 public void InitMVP()
 {
     view = new MockDetails();
     controller = new MockOrdersController();
     productService = new MockProductService();
     orderDetailsConverter = new OrderDetailsConverter(productService);
     presenter = new OrderDetailsPresenter(controller, productService, orderDetailsConverter);
     presenter.View = view;
 }