NsplTest\ArgsTest::testExpectsWithCustomType_Negative PHP Метод

testExpectsWithCustomType_Negative() публичный Метод

    public function testExpectsWithCustomType_Negative()
    {
        function expectsUserDefinedTypeNegativeTest($arg1)
        {
            expects([int, TestClass1::class], $arg1);
        }
        $this->assertNull(expectsUserDefinedTypeNegativeTest('hello world'));
    }
ArgsTest