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());
}