+ $lock = null;
+
+ try {
+ $cache = new MemcacheCache($host, $configMock);
+ $lock = new CacheLock($cache);
+ } catch (\Exception $e) {
+ $this->markTestSkipped('Memcache is not available');
+ }
+
+ return $lock;
+ }
+
+ /**
+ * @small
+ */
+ public function testGetLocks()
+ {
+ $this->markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround');
+ }
+
+ /**
+ * @small
+ */
+ public function testGetLocksWithPrefix()
+ {
+ $this->markTestIncomplete('Race condition because of too fast getAllKeys() which uses a workaround');