public void InitMVP()
        {
            view = new MockSearchProduct();
            productService = new MockProductService();
            presenter = new SearchProductPresenter(productService);

            presenter.View = view;
        }
 public void InitMVP()
 {
     productService = new MockProductService();
     customerService = new MockCustomerService();
     employeeService = new MockEmployeeService();
     employeeConverter = new MockGenericConverter<Employee, EmployeeDisplay>();
     ordersConverter = new MockGenericConverter<Order, OrderInfo>();
     orderDetailsConverter = new OrderDetailsConverter(productService);
     view = new MockOrderPreviewPart();
     presenter = new OrderPreviewPresenter(ordersConverter, orderDetailsConverter);
     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;
 }