PHPSpec\Matcher\TraversableKeyMatcher::getFailureException PHP Метод

getFailureException() защищенный Метод

protected getFailureException ( $name, $subject, array $arguments )
$arguments array
    protected function getFailureException($name, $subject, array $arguments)
    {
        return new FailureException(sprintf('Expected %s to have %s key, but it does not.', $this->presenter->presentValue($subject), $this->presenter->presentValue($arguments[0])));
    }