public function test_releaseLock() { $this->adapter->expects($this->once())->method('fetchOne')->will($this->returnValue('1')); $this->assertEquals(true, $this->dbHelper->releaseLock('dummy')); }