PHPSpec2\Matcher\IdentityMatcher::getFailureException PHP Method

getFailureException() protected method

protected getFailureException ( $name, $subject, array $arguments )
$arguments array
    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);
    }