PHPSpec\Matcher\TraversableContainMatcher::getNegativeFailureException PHP Метод

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

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