lithium\tests\cases\core\LibrariesTest::testPathCaching PHP Метод

testPathCaching() публичный Метод

Tests path caching by calling path() twice.
public testPathCaching ( )
    public function testPathCaching()
    {
        $this->assertEmpty(Libraries::cache(false));
        $path = Libraries::path(__CLASS__);
        $this->assertEqual(__FILE__, realpath($path));
        $result = Libraries::cache();
        $this->assertEqual(realpath($result[__CLASS__]), __FILE__);
    }