public function testBoltAppSetup()
{
$config = new ResourceManager(new \Pimple(['rootpath' => PHPUNIT_WEBROOT, 'pathmanager' => new PlatformFileSystemPathFactory()]));
$app = new Application(['resources' => $config]);
$this->assertEquals($config->getPaths(), $app['resources']->getPaths());
// Test that the Application has initialised the resources, injecting in config values.
$this->assertContains(Path::fromString(PHPUNIT_WEBROOT . '/theme')->string(), $config->getPath('theme'));
$this->assertNotEmpty($config->getUrl('canonical'));
}