3 namespace Friendica\Test\src\Core\Lock;
5 use Friendica\Core\Cache\ArrayCache;
6 use Friendica\Core\Lock\CacheLock;
8 class ArrayCacheLockTest extends LockTest
10 protected function getInstance()
12 return new CacheLock(new ArrayCache('localhost'));
15 public function testLockTTL()
17 // ArrayCache doesn't support TTL