Extends
lithium\test\UnitSource
public function testGetLibraryWebroot() {
$this->assertTrue(is_dir(Media::webroot(true)));
$this->assertNull(Media::webroot('foobar'));
Libraries::add('foobar', array('path' => __DIR__, 'webroot' => __DIR__));
$this->assertEqual(__DIR__, Media::webroot('foobar'));
Libraries::remove('foobar');
}