public function testBundleCommandsAreRetrievable()
{
$bundle = $this->createBundleMock(array());
$kernel = $this->getKernel(array($bundle));
$application = new Application($kernel);
$application->all();
// Calling twice: registration should only be done once.
$application->all();
}