public function testExpectsCustom_Negative() { function expectsCustomNegativeTest($arg1) { expectsToBe($arg1, 'a positive integer', function ($arg) { return is_int($arg) && $arg > 0; }); } $this->assertNull(expectsCustomNegativeTest(-1)); }