public void HasNextShouldReturnFalseWhenThereIsNoNextElement() { ListIterator listIterator = new ListIterator("a"); Assert.That(listIterator.HasNext() == false); }
public void HasNextShouldReturnTrueWhenThereIsNextElement() { ListIterator listIterator = new ListIterator("a", "b"); Assert.That(listIterator.HasNext() == true); }