public CustomerEditOrderPresenter(ICustomerEditOrderView view, IContract contract) { this.contract = contract; this.customerEditOrderView = view; this.customerEditOrderView.ShowOrderInfo(); CommandList = new CommandList(); }
public void Initialize() { mockCustomerEditOrderView = Substitute.For<ICustomerEditOrderView>(); mockContract = Substitute.For<IContract>(); presenter = new CustomerEditOrderPresenter(mockCustomerEditOrderView, mockContract); }