spec\PHPSpec2\Matcher\MatchersCollection::it_will_complain_if_matcher_is_not_found PHP Method

it_will_complain_if_matcher_is_not_found() public method

public it_will_complain_if_matcher_is_not_found ( PHPSpec2\Matcher\MatcherInterface $matcher )
$matcher PHPSpec2\Matcher\MatcherInterface
    function it_will_complain_if_matcher_is_not_found($matcher)
    {
        $this->add($matcher);
        $this->shouldThrow(new MatcherNotFoundException('crazy_alias'))->duringFind('crazy_alias', 42, array());
    }