public function testDisallowToAcquireSelfOwnedLock(LockInterface $lockImplementor) { $name = 'forfiter'; $lockImplementor->acquireLock($name, 0); $this->assertFalse($lockImplementor->acquireLock($name, 0)); $lockImplementor->releaseLock($name); }