public function testGatweayError()
{
$this->client->addResponse('GET', '/accounts/abcdef1234567890', 'client/gateway-unavailable-502.xml');
try {
$account = Recurly_Account::get('abcdef1234567890', $this->client);
$this->fail("Expected Recurly_ConnectionError");
} catch (Recurly_ConnectionError $e) {
}
}