private function getRunningClient() { if ($this->client->getHistory()->isEmpty()) { throw new ModuleException($this, "Response is empty. Use `\$I->sendXXX()` methods to send HTTP request"); } return $this->client; }