public void RegisterScopes_ScopesAreAdded() { // Arrange var services = CreateServices(); var builder = new OpenIddictBuilder(services); // Act builder.RegisterScopes("custom_scope_1", "custom_scope_2"); var options = GetOptions(services); // Assert Assert.Contains("custom_scope_1", options.Scopes); Assert.Contains("custom_scope_2", options.Scopes); }