public void CreatesCorrectPolicy(string url) { var basePolicy = new OpenIdConfig(url); var xml = basePolicy.GetXml().ToString(); xml.Should().Be($"<openid-config url=\"{ url }\" />"); }
public override XNode GetXml() { return(CreateElement(_openIdConfig?.GetXml(), _issuers?.GetXml(), _requiredClaims?.GetXml())); }