function it_should_throw_an_invalid_argument_exception_if_expected_value_is_not_iterable()
{
$this->shouldThrow(new \InvalidArgumentException('Expected value should be an array or implement \\Traversable.'))->during('match', [[], 'not iterable']);
$this->shouldThrow(new \InvalidArgumentException('Expected value should be an array or implement \\Traversable.'))->during('match', [[], 9]);
$this->shouldThrow(new \InvalidArgumentException('Expected value should be an array or implement \\Traversable.'))->during('match', [[], new \stdClass()]);
}