private void InitView() { base.InitWorkSpace(); ListCustomersPresenter presenter = new ListCustomersPresenter(this); presenter.InitView(); base.CloseWorkSpace(); }
public void TestInitView() { ListCustomersViewStub view = new ListCustomersViewStub(); ListCustomersPresenter presenter = new ListCustomersPresenter(view); //new MockCustomerDaoFactory().CreateMockCustomerDao()); presenter.InitView(); Assert.IsNotNull(view.Customers); Assert.AreEqual(3, view.Customers.Count); }
private void InitView() { ListCustomersPresenter presenter = new ListCustomersPresenter(this); presenter.InitView(); }