protected function getCommand(array $options)
{
$this->statusCommand = new StatusCommand();
$application = $this->getApplication();
$application->add($this->statusCommand);
$command = $this->getApplication()->find('db:variables');
$commandTester = new CommandTester($command);
$commandTester->execute(array_merge(array('command' => $command->getName()), $options));
return $commandTester;
}