function it_does_not_matches_if_state_checker_returns_false() { $subject = new \ReflectionClass($this); $this->shouldThrow('PHPSpec2\\Exception\\Example\\FailureException')->duringPositiveMatch('beFinal', $subject, array()); }