public void MyTestInitialize()
        {
            dataSource = new MockCustomersDataSource();
            controller = new MockContactsController();

            presenter = new ContactDetailPresenter(dataSource);
            presenter.Controller = controller;
            view = new MockContactDetailView();
            presenter.View = view;
        }
Esempio n. 2
0
        public void MyTestInitialize()
        {
            dataSource = new MockCustomersDataSource();
            controller = new MockContactsController();

            presenter            = new ContactDetailPresenter(dataSource);
            presenter.Controller = controller;
            view           = new MockContactDetailView();
            presenter.View = view;
        }