public function testExpectsCustom_Positive() { function expectsCustomPositiveTest($arg1) { expectsToBe($arg1, 'to be a positive integer', function ($arg) { return is_int($arg) && $arg > 0; }); } $this->assertNull(expectsCustomPositiveTest(42)); }