public function testGetTokenFromJwt()
 {
     $xml = file_get_contents(__DIR__ . '/samples/token-without-consumer.xml');
     $response = new Response('200', null, $xml);
     $this->apiMock->addResponse($response);
     $token = $this->fetcher->getAccessTokenFromJwt('0005548e3bfe0a47938fd5b1c8369ff1');
     $correctToken = new Token('2143f7db7642b3687e90d718b79a42ce', '4c06eb61aa814a057578640ee61ea420', new User('12346093-0e7e-4803-be0b-69b24c145f89', 'testtesttest', '*****@*****.**'));
     $this->assertEquals($correctToken, $token);
 }