Kraken\_Unit\Runtime\Container\Manager\ThreadManagerBaseTest::testApiStartThread_InvokesValidCommand PHP Метод

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

    public function testApiStartThread_InvokesValidCommand()
    {
        $manager = $this->createThreadManager();
        $manager->startThread($alias = 'alias');
        $command = $this->getCommand();
        $this->assertInstanceOf(RuntimeCommand::class, $command);
        $this->assertSame('container:start', $command->getCommand());
        $this->assertSame([], $command->getParams());
    }
ThreadManagerBaseTest