예제 #1
0
        public void MyTestInitialize()
        {
            dataSource = new MockCustomersDataSource();
            controller = new MockContactsController();

            view                 = new MockContactDetailView();
            presenter            = new ContactDetailPresenter(view, dataSource);
            presenter.Controller = controller;
        }
예제 #2
0
 public void MyTestInitialize()
 {
     dataSource = new MockCustomersDataSource();
     controller = new ContactsController(dataSource);
 }