public void MissingAuthorityThrowsAnException() {
// Arrange, act, assert
var exception = Assert.Throws<ArgumentException>(() => CreateResourceServer(options => {
options.Authority = null;
}));
Assert.Equal("options", exception.ParamName);
Assert.StartsWith("The authority or the introspection endpoint must be configured.", exception.Message);
}