private static DonkeyListViewModel CreateSystemUnderTest(IDonkeyService donkeyService) { DonkeyListPresenter presenter = new DonkeyListPresenter(donkeyService); DonkeyListViewModelFactory viewModelFactory = new DonkeyListViewModelFactory(presenter); return(viewModelFactory.CreateBatchListViewModel()); }
public DonkeyListPresenter(IDonkeyService donkeyService) { _donkeyService = donkeyService; }