function ArrayEntryTokenSpec::it_does_not_score_traversable_object_without_entries in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php \spec\Prophecy\Argument\Token\ArrayEntryTokenSpec::it_does_not_score_traversable_object_without_entries()
Parameters
\Iterator $object:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Argument/ Token/ ArrayEntryTokenSpec.php, line 164
Class
Namespace
spec\Prophecy\Argument\TokenCode
function it_does_not_score_traversable_object_without_entries($object) {
$object
->rewind()
->willReturn(null);
$object
->next()
->willReturn(null);
$object
->valid()
->willReturn(false);
$this
->scoreArgument($object)
->shouldBe(false);
}