public void GivenEmptyListResult_WarewolfAtomIterator_HasMoreData_ShouldReturnFalse() { IEnumerable <DataStorage.WarewolfAtom> listResult = new List <DataStorage.WarewolfAtom>(); var warewolfAtomIterator = new WarewolfAtomIterator(listResult); Assert.IsNotNull(warewolfAtomIterator); var hasMoreData = warewolfAtomIterator.HasMoreData(); Assert.IsFalse(hasMoreData); }
public void WarewolfAtomIterator_HasMoreData_GivenEmptyListResult_ExpectFalse() { //-------------------------Arrange-------------------------- IEnumerable <DataStorage.WarewolfAtom> listResult = new List <DataStorage.WarewolfAtom>(); var warewolfAtomIterator = new WarewolfAtomIterator(listResult); //-------------------------Assert--------------------------- var hasMoreData = warewolfAtomIterator.HasMoreData(); //-------------------------Act------------------------------ Assert.IsFalse(hasMoreData); }