app->shouldReceive('getHostname')->andReturn('friendica.local'); $this->mockConfigGet('system', 'temppath', '/tmp/'); } protected function getInstance() { return new SemaphoreLockDriver(); } function testLockTTL() { // Semaphore doesn't work with TTL return true; } }