/**
  * @throws Exception
  */
 public function testGetIterator()
 {
     $this->storage->setItems(['testItem1' => 'testValue1']);
     $this->assertInstanceOf(\ArrayIterator::class, $this->storage->getIterator());
     $this->assertEquals('testValue1', $this->storage->getIterator()->offsetGet('testItem1'));
 }
 public function getIterator()
 {
     $this->assertValidationPassed();
     return $this->dataStorage->getIterator();
 }