PHPSpec\Matcher\StringContainMatcher::getFailureException PHP Method

getFailureException() protected method

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