function testLoadCustomRootConfig()
{
$cwd = getcwd();
chdir(__DIR__ . '/fixtures');
$this->application['config.file'] = "Bobfile.php";
$this->application->init();
$this->assertTrue($this->application->taskDefined('foobar'));
$this->assertContains(__DIR__ . '/fixtures/Bobfile.php', $this->application->loadedConfigs);
chdir($cwd);
}