function ArrayEntryTokenSpec::it_scores_array_half_of_combined_scores_from_key_and_value_tokens in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpspec/prophecy/spec/Prophecy/Argument/Token/ArrayEntryTokenSpec.php \spec\Prophecy\Argument\Token\ArrayEntryTokenSpec::it_scores_array_half_of_combined_scores_from_key_and_value_tokens()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Argument/ Token/ ArrayEntryTokenSpec.php, line 63
Class
Namespace
spec\Prophecy\Argument\TokenCode
function it_scores_array_half_of_combined_scores_from_key_and_value_tokens($key, $value) {
$key
->scoreArgument('key')
->willReturn(4);
$value
->scoreArgument('value')
->willReturn(6);
$this
->scoreArgument(array(
'key' => 'value',
))
->shouldBe(5);
}