public function testEmptyResponse() { $request = new Request(ReCaptcha::$siteVerifyUrl, new TestDriver(true, true)); $response = $request->send(); $this->assertInstanceOf('DS\\Library\\ReCaptcha\\Http\\Response', $response); $this->assertFalse($response->isSuccess()); }