Kraken\_Unit\Console\Client\Command\Thread\ThreadDestroyCommandTest::testApiConfig_ConfiguresCommand PHP Метод

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

    public function testApiConfig_ConfiguresCommand()
    {
        $command = $this->createCommand();
        $args = [];
        $args[] = ['parent', InputArgument::REQUIRED];
        $args[] = ['alias', InputArgument::REQUIRED];
        $opts = [];
        $opts[] = ['flags', null, InputOption::VALUE_OPTIONAL, '#^(.*?)$#', Runtime::DESTROY_FORCE_SOFT];
        $this->assertCommand($command, 'thread:destroy', '#^(.*?)$#si', $args, $opts);
    }