public function test_isLocked_ShouldDetermineWhetherAQueueIsLocked() { $this->assertFalse($this->lock->isLocked()); $this->lock->acquireLock(0); $this->assertTrue($this->lock->isLocked()); $this->lock->unlock(); $this->assertFalse($this->lock->isLocked()); }
private function assertNotQueueManagerIsLocked() { $this->assertFalse($this->lock->isLocked()); }