Kraken\_Integration\Boot\ThreadTest::testCaseThread_DoesNotThrowException_WhenBooted PHP Метод

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

    public function testCaseThread_DoesNotThrowException_WhenBooted()
    {
        if (ini_get('allow_url_include') !== '1') {
            return;
        }
        global $loader;
        $loader = $this->getMock(ClassLoader::class, [], [], '', false);
        $dataPath = realpath(__DIR__ . '/..') . '/_Data';
        $thread = (new ThreadBoot())->controllers(RuntimeContainerMock::class)->constructor(['undefined', 'alias', 'name'])->boot($dataPath);
        $thread->destroy();
        unset($thread);
    }