public it_does_not_score_array_accessible_object_if_it_has_no_offset_with_key_token_value ( Prophecy\Argument\Token\ExactValueToken $key, ArrayAccess $object ) | ||
$key | Prophecy\Argument\Token\ExactValueToken | |
$object | ArrayAccess |
function it_does_not_score_array_accessible_object_if_it_has_no_offset_with_key_token_value(ExactValueToken $key, \ArrayAccess $object)
{
$object->offsetExists('key')->willReturn(false);
$key->getValue()->willReturn('key');
$this->scoreArgument($object)->shouldBe(false);
}