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