function ArrayEntryTokenSpec::its_score_is_capped_at_8 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::its_score_is_capped_at_8()
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Argument/ Token/ ArrayEntryTokenSpec.php, line 223
Class
Namespace
spec\Prophecy\Argument\TokenCode
function its_score_is_capped_at_8($key, $value) {
$key
->scoreArgument('key')
->willReturn(10);
$value
->scoreArgument('value')
->willReturn(10);
$this
->scoreArgument(array(
'key' => 'value',
))
->shouldBe(8);
}