public void BatchListViewModel_HasExistingBatches_WhenConstructed() { IList <Donkey> batches = new List <Donkey> { CreateRandom <Donkey>(), CreateRandom <Donkey>(), }; IDonkeyService donkeyService = new FakeDonkeyService(batches); DonkeyListViewModel systemUnderTest = CreateSystemUnderTest(donkeyService); systemUnderTest.Batches.Should().BeEquivalentTo(batches); }
public DonkeyListViewModelTest() { _fakeDonkeyService.Clear(); _systemUnderTest = CreateSystemUnderTest(_fakeDonkeyService); }