function it_throws_MatcherNotFoundException_if_matcher_not_found() { $this->shouldThrow('PhpSpec\\Exception\\Wrapper\\MatcherNotFoundException')->duringFind('startWith', 'hello, world', array('hello')); }