public function testCommand()
{
$this->assertFalse($this->app['console']->has('demo:greet'));
$this->app->command(new GreetCommand());
$this->assertTrue($this->app['console']->has('demo:greet'));
$this->assertSame($this->app, $this->app['console']->get('demo:greet')->getContainer());
}