public function testApiCommand_InvokesProperAction()
{
$alias = 'alias';
$flags = 0;
$result = new StdClass();
$command = $this->createCommand();
$manager = $this->createManager();
$manager->expects($this->once())->method('destroyRuntime')->with($alias, $flags)->will($this->returnValue($result));
$this->assertSame($result, $this->callProtectedMethod($command, 'command', [['alias' => $alias, 'flags' => $flags]]));
}