Kraken\_Unit\Console\Client\Command\Process\ProcessDestroyCommandTest::testApiConfig_ConfiguresCommand PHP Method

testApiConfig_ConfiguresCommand() public method

    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, 'process:destroy', '#^(.*?)$#si', $args, $opts);
    }