public function test_unlock_key()
{
$this->mem->save(__METHOD__, 1);
$lock = $this->mem->lock_key(__METHOD__, $l);
$this->assertTrue($lock);
if ($lock) {
$call = $this->mem->unlock_key($l);
$this->assertTrue($call);
$check = $this->mem->lock_key(__METHOD__, $l1);
$this->assertTrue($check)->addCommentary('can not lock key again');
$this->mem->unlock_key($l1);
}
}