public function testDefaultPaths()
{
$config = new ResourceManager(new \Pimple(['rootpath' => PHPUNIT_WEBROOT, 'pathmanager' => new PlatformFileSystemPathFactory()]));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT), $config->getPath('rootpath'));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT . '/app'), $config->getPath('apppath'));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT . '/extensions'), $config->getPath('extensions'));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT . '/files'), $config->getPath('filespath'));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT), $config->getPath('web'));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT . '/app/cache'), $config->getPath('cache'));
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT . '/app/config'), $config->getPath('config'));
}