3 namespace Friendica\Test\src\Core\Lock;
6 use Friendica\Core\Cache\ArrayCache;
7 use Friendica\Core\Lock\CacheLockDriver;
10 * @runTestsInSeparateProcesses
11 * @preserveGlobalState disabled
13 class ArrayCacheLockDriverTest extends LockTest
15 protected function getInstance()
17 return new CacheLockDriver(new ArrayCache());
20 public function testLockTTL()
22 // ArrayCache doesn't support TTL