public function testGetTokens()
{
$response = $this->getMockResponse();
$response->method('getBody')->willReturn(file_get_contents(__DIR__ . '/../../DataFixtures/with_tokens.json'));
$adapter = $this->getMockAdapter();
$adapter->method('sendRequest')->willReturn($response);
$this->client->setAdapter($adapter);
$tokens = $this->client->getTokens();
$this->assertInternalType('array', $tokens);
$this->assertSame('39zPuHaBbO8VMZe8Bdr9RjmRY6pHT7Gs3ifcbKM6PYSg2', $tokens['payroll']->getToken());
$this->assertSame('payroll', $tokens['payroll']->getFacade());
$this->assertSame('5QziWnr75x7c4B9DdJ5QUo', $tokens['payroll/payoutRequest']->getToken());
$this->assertSame('payroll/payoutRequest', $tokens['payroll/payoutRequest']->getFacade());
}