public void CreateAuthorizationUrl_NoScopes()
        {
            const string AuthorizationUrl = "https://accounts.spotify.com/authorize" +
                                            "?response_type=code" +
                                            "&client_id=CLIENT_ID" +
                                            "&redirect_uri=REDIRECT_URI";

            Assert.AreEqual(
                expected: new(AuthorizationUrl),
                actual: AuthorizationCodeFlow.CreateAuthorizationUri("CLIENT_ID", "REDIRECT_URI"));
        }
        public void CreateAuthorizationUrl_MultipleScopes()
        {
            const string AuthorizationUrl = "https://accounts.spotify.com/authorize" +
                                            "?response_type=code" +
                                            "&client_id=CLIENT_ID" +
                                            "&redirect_uri=REDIRECT_URI" +
                                            "&scope=ugc-image-upload%20streaming%20playlist-read-collaborative";

            Assert.AreEqual(
                expected: new(AuthorizationUrl),
                actual: AuthorizationCodeFlow.CreateAuthorizationUri(
                    "CLIENT_ID",
                    "REDIRECT_URI",
                    scopes: AuthorizationScopes.UgcImageUpload | AuthorizationScopes.Streaming | AuthorizationScopes.PlaylistReadCollaborative));
        }
        public void CreateAuthorizationUrl_SingleScope()
        {
            const string AuthorizationUrl = "https://accounts.spotify.com/authorize" +
                                            "?response_type=code" +
                                            "&client_id=CLIENT_ID" +
                                            "&redirect_uri=REDIRECT_URI" +
                                            "&scope=ugc-image-upload";

            Assert.AreEqual(
                expected: new(AuthorizationUrl),
                actual: AuthorizationCodeFlow.CreateAuthorizationUri(
                    "CLIENT_ID",
                    "REDIRECT_URI",
                    scopes: AuthorizationScopes.UgcImageUpload));
        }