lithium\tests\cases\analysis\logger\adapter\CacheTest::testConstruct PHP Method

testConstruct() public method

Test the initialization of the cache log adapter.
public testConstruct ( )
    public function testConstruct()
    {
        $expected = array('config' => "cachelog", 'expiry' => CacheStorage::PERSIST, 'key' => "cachelog_testkey", 'init' => true);
        $result = $this->cachelog->_config;
        $this->assertEqual($expected, $result);
    }