示例#1
0
 public function testAutoloadInstance()
 {
     Configure::write(SimpleCache::ConfigurePath, array('Engine' => '\\Faid\\tests\\Cache\\TestCacheEngine'));
     $result = SimpleCache::getInstance();
     $this->assertTrue($result instanceof TestCacheEngine);
 }