You are here

function ArrayEntryTokenSpec::it_does_not_score_if_argument_is_neither_array_nor_traversable_nor_array_accessible in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php \spec\Prophecy\Argument\Token\ArrayEntryTokenSpec::it_does_not_score_if_argument_is_neither_array_nor_traversable_nor_array_accessible()

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php, line 140

Class

ArrayEntryTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_does_not_score_if_argument_is_neither_array_nor_traversable_nor_array_accessible() {
  $this
    ->scoreArgument('string')
    ->shouldBe(false);
  $this
    ->scoreArgument(new \stdClass())
    ->shouldBe(false);
}