def test_next(self):
        """
        Test the iterables next method.

        @raise AssertionError: If the test fails.
        """
        counter = self.counter_class(10)
        for i in range(10):
            self.assertEquals(i, counter.__next__())

        Test the iterables next method.

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