public function setUp()
{
$this->client = new Client();
$this->client->setNetwork(new \Bitpay\Network\Testnet());
$this->client->setToken($this->getMockToken());
$this->client->setPublicKey($this->getMockPublicKey());
$this->client->setPrivateKey($this->getMockPrivateKey());
$adapter = $this->getMockAdapter();
$adapter->method('sendRequest')->willReturn($this->getMock('Bitpay\\Client\\ResponseInterface'));
$this->client->setAdapter($adapter);
}