public function testConstruction()
{
$container = new \Pimple(['rootpath' => PHPUNIT_WEBROOT, 'pathmanager' => new PlatformFileSystemPathFactory()]);
$config = new ResourceManager($container);
$this->assertEquals(Path::fromString(PHPUNIT_WEBROOT), \PHPUnit_Framework_Assert::readAttribute($config, 'root'));
}