public function testSendRequestWithException()
{
$this->setExpectedException('Bitpay\\Client\\ConnectionException');
$curl_options = array(CURLOPT_URL => "www.example.com", CURLOPT_SSL_VERIFYPEER => 1, CURLOPT_SSL_VERIFYHOST => 2);
$adapter = new CurlAdapter($curl_options);
$response = $adapter->sendRequest($this->request);
}