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

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

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