spec\PhpSpec\Wrapper\Subject\Expectation\PositiveSpec::it_calls_a_positive_match_on_matcher PHP Метод

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

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