spec\PhpSpec\Wrapper\Subject\Expectation\NegativeSpec::it_calls_a_negative_match_on_matcher PHP Метод

it_calls_a_negative_match_on_matcher() публичный Метод

public it_calls_a_negative_match_on_matcher ( PhpSpec\Matcher\Matcher $matcher )
$matcher PhpSpec\Matcher\Matcher
    function it_calls_a_negative_match_on_matcher(Matcher $matcher)
    {
        $alias = 'somealias';
        $subject = 'subject';
        $arguments = array();
        $matcher->negativeMatch($alias, $subject, $arguments)->shouldBeCalled();
        $this->match($alias, $subject, $arguments);
    }