public function testCustomInputOutput()
{
$input = $this->getMock('Symfony\\Component\\Console\\Input\\InputInterface');
$output = $this->getMock('Symfony\\Component\\Console\\Output\\OutputInterface');
$this->app['console'] = $this->getMock('Symfony\\Component\\Console\\Application');
$this->app['console']->expects($this->once())->method('run')->with($input, $output);
$this->app->run($input, $output);
}