Example #1
0
        private static DonkeyListViewModel CreateSystemUnderTest(IDonkeyService donkeyService)
        {
            DonkeyListPresenter        presenter        = new DonkeyListPresenter(donkeyService);
            DonkeyListViewModelFactory viewModelFactory = new DonkeyListViewModelFactory(presenter);

            return(viewModelFactory.CreateBatchListViewModel());
        }
Example #2
0
 public DonkeyListPresenter(IDonkeyService donkeyService)
 {
     _donkeyService = donkeyService;
 }