public function testBoltAppSetup()
{
$config = new ResourceManager(TEST_ROOT);
$app = new Application(array('resources' => $config));
$this->assertEquals($config->getPaths(), $app['resources']->getPaths());
// Test that the Application has initialised the resources, injecting in config values.
$this->assertContains(TEST_ROOT . "/theme", $config->getPath("theme"));
$this->assertNotEmpty($config->getUrl("canonical"));
}