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

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

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