PHPSpec\Matcher\TraversableKeyValueMatcher::supports PHP Method

supports() public method

public supports ( $name, $subject, array $arguments )
$arguments array
    public function supports($name, $subject, array $arguments)
    {
        return 'haveKeyWithValue' === $name && 2 === count($arguments) && $subject instanceof \Traversable;
    }