public void NoScopesGranted_AuthorizationShouldBeDenied()
        {
            var grantedScopes = new Scope[0];
            var requiredScope = new Scope("g", "r", "p");

            bool isAuthorized = ScopeAuthorizer.IsAuthorized(grantedScopes, requiredScope);

            isAuthorized.Should().BeFalse();
        }
        public void RequiredScopeIsNotGranted_AuthorizationShouldBeDenied(
            string grantedScopePattern,
            string requiredScopePattern)
        {
            var grantedScopes = ParseScopePattern(grantedScopePattern);

            bool isAuthorized = ScopeAuthorizer.IsAuthorized(grantedScopes, Scope.Parse(requiredScopePattern));

            isAuthorized.Should().BeFalse();
        }