Exemplo n.º 1
0
        private static DonkeyListViewModel CreateSystemUnderTest(IDonkeyService donkeyService)
        {
            DonkeyListPresenter        presenter        = new DonkeyListPresenter(donkeyService);
            DonkeyListViewModelFactory viewModelFactory = new DonkeyListViewModelFactory(presenter);

            return(viewModelFactory.CreateBatchListViewModel());
        }
Exemplo n.º 2
0
 public DonkeyListPresenter(IDonkeyService donkeyService)
 {
     _donkeyService = donkeyService;
 }