public function testIsLocked() { $this->assertFalse($this->lock->isLocked()); $lock = $this->_getLock(['locked' => true, 'username' => 'abc', 'password' => '123']); $this->assertTrue($lock->isLocked()); }