Extends
lithium\test\UnitSource
public function testPathDirectoryLookups() {
$library = Libraries::get('lithium');
$base = $library['path'] . '/';
$result = Libraries::path('lithium\template\View', array('dirs' => true));
$expected = realpath($base . 'template/View.php');
$this->assertEqual($expected, $result);
$result = Libraries::path('lithium\template\views', array('dirs' => true));
$this->assertNull($result);
}