public function validateTimeoutedResponse(Response $response)
{
$this->assertEmpty($response->getContent());
$this->assertTrue($response->hasError());
$this->assertEquals(CURLE_OPERATION_TIMEOUTED, $response->getError()->getCode());
$this->assertNotEmpty($response->getError()->getMessage());
}