public function testCustomWebroot()
{
Libraries::add('defaultStyleApp', array('path' => Libraries::get(true, 'path'), 'bootstrap' => false));
$this->assertEqual(realpath(Libraries::get(true, 'path') . '/webroot'), realpath(Media::webroot('defaultStyleApp')));
Libraries::add('customWebRootApp', array('path' => Libraries::get(true, 'path'), 'webroot' => Libraries::get(true, 'path'), 'bootstrap' => false));
$this->assertEqual(Libraries::get(true, 'path'), Media::webroot('customWebRootApp'));
Libraries::remove('defaultStyleApp');
Libraries::remove('customWebRootApp');
$this->assertNull(Media::webroot('defaultStyleApp'));
}