function it_accepts_a_method_during_which_an_exception_should_not_be_thrown(ArrayObject $arr) { $this->negativeMatch('throw', $arr, array('\\Exception'))->during('ksort', array()); }