3 namespace Friendica\Test\src\Core\Lock;
5 use Friendica\Core\Cache\APCuCache;
6 use Friendica\Core\Lock\CacheLockDriver;
8 class APCuCacheLockTest extends LockTest
10 protected function setUp()
12 if (!APCuCache::isAvailable()) {
13 $this->markTestSkipped('APCu is not available');
19 protected function getInstance()
21 return new CacheLockDriver(new APCuCache('localhost'));