NsplTest\ArgsTest::expectsCustomNegativeTest PHP Method

expectsCustomNegativeTest() public method

public expectsCustomNegativeTest ( $arg1 )
        function expectsCustomNegativeTest($arg1)
        {
            expectsToBe($arg1, 'a positive integer', function ($arg) {
                return is_int($arg) && $arg > 0;
            });
        }
ArgsTest