function it_matches_if_has_checker_returns_true() { $subject = new \ReflectionClass($this); $this->shouldNotThrow()->duringPositiveMatch('haveMethod', $subject, array('it_matches_if_has_checker_returns_true')); }