function it_throws_exception_if_checker_method_not_found() { $subject = new \ReflectionClass($this); $this->shouldThrow('PHPSpec2\\Exception\\MethodNotFoundException')->duringPositiveMatch('beSimple', $subject, array()); }