public function canAcquireMoreLocks() { return $this->lock->getNumberOfAcquiredLocks() < $this->numQueuesAvailable; }
private function assertNumberOfLocksEquals($numExpectedLocks) { $this->assertSame($numExpectedLocks, $this->lock->getNumberOfAcquiredLocks()); }