/**
  * Checks if the "last" method basically works
  *
  * @test
  */
 public function lastBasicallyWorks()
 {
     $iterator = new TextIterator('This is a test string. Let\'s iterate it by word', TextIterator::WORD);
     $iterator->rewind();
     $this->assertEquals($iterator->last(), 'word', 'Wrong element returned by last().');
 }