You are here

function ArrayEveryEntryTokenSpec::it_does_not_score_array_keys in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEveryEntryTokenSpec.php \spec\Prophecy\Argument\Token\ArrayEveryEntryTokenSpec::it_does_not_score_array_keys()

File

vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEveryEntryTokenSpec.php, line 84

Class

ArrayEveryEntryTokenSpec

Namespace

spec\Prophecy\Argument\Token

Code

function it_does_not_score_array_keys($value) {
  $value
    ->scoreArgument('value')
    ->willReturn(6);
  $value
    ->scoreArgument('key')
    ->shouldNotBeCalled(0);
  $this
    ->scoreArgument(array(
    'key' => 'value',
  ))
    ->shouldBe(6);
}