protected function runCommand($name, array $params = array())
{
\array_unshift($params, $name);
$kernel = $this->createKernel();
$kernel->boot();
$application = new Application($kernel);
$application->setAutoExit(false);
$input = new ArrayInput($params);
$input->setInteractive(false);
$ouput = new NullOutput(0);
$application->run($input, $ouput);
}