4 namespace Friendica\Test\src\Core\Cache;
6 use Friendica\Core\Cache\CacheDriverFactory;
9 * @requires extension memcached
11 class MemcachedCacheDriverTest extends MemoryCacheTest
13 protected function getInstance()
16 ->shouldReceive('get')
17 ->with('system', 'memcached_hosts')
18 ->andReturn([0 => 'localhost, 11211']);
20 $this->cache = CacheDriverFactory::create('memcached');
24 public function tearDown()
26 $this->cache->clear(false);