PHPSpec2\Matcher\BasicMatcher::negativeMatch PHP Method

negativeMatch() final public method

final public negativeMatch ( $name, $subject, array $arguments )
$arguments array
    public final function negativeMatch($name, $subject, array $arguments)
    {
        if (true === $this->matches($subject, $arguments)) {
            throw $this->getNegativeFailureException($name, $subject, $arguments);
        }
        return $subject;
    }