public testApiDestroyProcess_InvokesValidCommand ( ) |
public function testApiDestroyProcess_InvokesValidCommand()
{
$manager = $this->createProcessManager();
$manager->destroyProcess($alias = 'alias', $flags = 'flags');
$command = $this->getCommand();
$this->assertInstanceOf(RuntimeCommand::class, $command);
$this->assertSame('process:destroy', $command->getCommand());
$this->assertSame(['alias' => $alias, 'flags' => $flags], $command->getParams());
}