public function testGetLastError() { $error = $this->database->getLastError(); $this->assertArrayHasKey('connectionId', $error); }