public function testGetCurrencies()
{
$response = $this->getMockResponse();
$response->method('getBody')->willReturn(file_get_contents(__DIR__ . '/../../DataFixtures/currencies.json'));
$adapter = $this->getMockAdapter();
$adapter->method('sendRequest')->willReturn($response);
$this->client->setAdapter($adapter);
$currencies = $this->client->getCurrencies();
$this->assertInternalType('array', $currencies);
$this->assertGreaterThan(0, count($currencies));
$this->assertInstanceOf('Bitpay\\CurrencyInterface', $currencies[0]);
}