3 namespace Friendica\Test\src\Core\Lock;
5 use Friendica\Core\Cache\APCuCache;
6 use Friendica\Core\Lock\CacheLock;
11 class APCuCacheLockTest extends LockTest
13 protected function setUp()
15 if (!APCuCache::isAvailable()) {
16 $this->markTestSkipped('APCu is not available');
22 protected function getInstance()
24 return new CacheLock(new APCuCache('localhost'));