function it_accepts_a_method_during_which_an_error_should_not_be_thrown(ArrayObject $arr)
{
if (!class_exists('\\Error')) {
throw new SkippingException('The class Error, introduced in PHP 7, does not exist');
}
$this->negativeMatch('throw', $arr, array('\\Error'))->during('ksort', array());
}