function it_will_return_matcher_if_found($matcher) { $matcher->supports('work', 42, array())->willReturn(true); $this->add($matcher); $this->find('work', 42, array())->shouldReturn($matcher); }