protected function setUp()
{
$config = DefaultApplicationConfig::create()->setDisplayName('The Application')->setVersion('1.2.3')->beginCommand('the-command')->end();
$this->application = new ConsoleApplication($config);
$this->command = $this->application->getCommand('the-command');
$this->helpCommand = $this->application->getCommand('help');
$this->io = new BufferedIO();
$this->handler = new HelpXmlHandler();
}