original_string: function it_provides_useful_information_about_iterations()
      {
          $this->next('one');
          $this->getIndex()->shouldBe(0);
          $this->getKey()->shouldBe('one');
          $this->isFirst()->shouldBe(true);
          $this->isLast()->shouldBe(false);
  
          $this->next('two');
          $this->getIndex()->shouldBe(1);
          $this->getKey()->shouldBe('two');
          $this->isFirst()->shouldBe(false);
          $this->isLast()->shouldBe(false);
  
          $this->next('three');
          $this->getIndex()->shouldBe(2);
          $this->getKey()->shouldBe('three');
          $this->isFirst()->shouldBe(false);
          $this->isLast()->shouldBe(true);
      }
code: function it_provides_useful_information_about_iterations()
      {
          $this->next('one');
          $this->getIndex()->shouldBe(0);
          $this->getKey()->shouldBe('one');
          $this->isFirst()->shouldBe(true);
          $this->isLast()->shouldBe(false);
  
          $this->next('two');
          $this->getIndex()->shouldBe(1);
          $this->getKey()->shouldBe('two');
          $this->isFirst()->shouldBe(false);
          $this->isLast()->shouldBe(false);
  
          $this->next('three');
          $this->getIndex()->shouldBe(2);
          $this->getKey()->shouldBe('three');
          $this->isFirst()->shouldBe(false);
          $this->isLast()->shouldBe(true);
      }
code_tokens: function it_provides_useful_information_about_iterations ( ) { $ this -> next ( 'one' ) ; $ this -> getIndex ( ) -> shouldBe ( 0 ) ; $ this -> getKey ( ) -> shouldBe ( 'one' ) ; $ this -> isFirst ( ) -> shouldBe ( true ) ; $ this -> isLast ( ) -> shouldBe ( false ) ; $ this -> next ( 'two' ) ; $ this -> getIndex ( ) -> shouldBe ( 1 ) ; $ this -> getKey ( ) -> shouldBe ( 'two' ) ; $ this -> isFirst ( ) -> shouldBe ( false ) ; $ this -> isLast ( ) -> shouldBe ( false ) ; $ this -> next ( 'three' ) ; $ this -> getIndex ( ) -> shouldBe ( 2 ) ; $ this -> getKey ( ) -> shouldBe ( 'three' ) ; $ this -> isFirst ( ) -> shouldBe ( false ) ; $ this -> isLast ( ) -> shouldBe ( true ) ; }
docstring: It provides useful information about iterations.
docstring_tokens: It provides useful information about iterations .