private function generateTestForAuthUri(array $perms = [])
 {
     $state = md5(uniqid(), true);
     $this->api->setState($state);
     $params = http_build_query(['app_id' => getenv('DEEZER_APP_ID'), 'secret' => getenv('DEEZER_APP_SECRET'), 'redirect_uri' => getenv('DEEZER_REDIRECT_URI'), 'perms' => implode(',', $perms), 'state' => $state]);
     $expected = 'https://connect.deezer.com/oauth/auth.php?' . $params;
     $this->assertEquals($expected, $this->api->getAuthUri($perms));
 }