Example #1
0
        public void HasNextShouldReturnFalseWhenThereIsNoNextElement()
        {
            ListIterator listIterator = new ListIterator("a");

            Assert.That(listIterator.HasNext() == false);
        }
Example #2
0
        public void HasNextShouldReturnTrueWhenThereIsNextElement()
        {
            ListIterator listIterator = new ListIterator("a", "b");

            Assert.That(listIterator.HasNext() == true);
        }