PHPSpec2\Matcher\CountMatcher::getNegativeFailureException PHP Method

getNegativeFailureException() protected method

protected getNegativeFailureException ( $name, $subject, array $arguments )
$arguments array
    protected function getNegativeFailureException($name, $subject, array $arguments)
    {
        return new FailureException(sprintf('Not expected %s to have %s items, but got it.', $this->presenter->presentValue($subject), $this->presenter->presentString(intval($arguments[0]))));
    }