function deprecatedExpectsNegativeTest($arg1) { expects($arg1, 'a positive integer', function ($arg) { return is_int($arg) && $arg > 0; }); }