def test_next(self):
        """
        Test the built in next method on the Iterator.

        @raise AssertionError: If the test fails.
        """
        counter_iterator = self.counter_iterator_class()
        for i in range(10):
            self.assertEquals(i, next(counter_iterator))

        Test the built in next method on the Iterator.

        @raise AssertionError: If the test fails.
        
tests/behavioral_tests/test_iterator.py