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