function it_should_not_throw_any_exception_if_subject_iterates_as_expected()
{
$this->shouldNotThrow()->during('match', [['a' => 'b', 'c' => 'd'], ['a' => 'b', 'c' => 'd']]);
$this->shouldNotThrow()->during('match', [['a' => 'b', 'c' => 'd'], new \ArrayIterator(['a' => 'b', 'c' => 'd'])]);
$this->shouldNotThrow()->during('match', [new \ArrayIterator(['a' => 'b', 'c' => 'd']), ['a' => 'b', 'c' => 'd']]);
$this->shouldNotThrow()->during('match', [['a' => 'b', 'c' => 'd'], new \ArrayObject(['a' => 'b', 'c' => 'd'])]);
$this->shouldNotThrow()->during('match', [new \ArrayObject(['a' => 'b', 'c' => 'd']), ['a' => 'b', 'c' => 'd']]);
$this->shouldNotThrow()->during('match', [$this->createGeneratorReturningArray(['a' => 'b', 'c' => 'd']), ['a' => 'b', 'c' => 'd']]);
$this->shouldNotThrow()->during('match', [['a' => 'b', 'c' => 'd'], $this->createGeneratorReturningArray(['a' => 'b', 'c' => 'd'])]);
}