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

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

protected getNegativeFailureException ( string $name, mixed $subject, array $arguments ) : PhpSpec\Exception\Example\FailureException
$name string
$subject mixed
$arguments array
Результат PhpSpec\Exception\Example\FailureException
    protected function getNegativeFailureException($name, $subject, array $arguments)
    {
        return new FailureException(sprintf('Did not expect instance of %s, but got %s.', $this->presenter->presentString($arguments[0]), $this->presenter->presentValue($subject)));
    }