Example #1
0
        public void CreatesCorrectPolicy(string issuer1, string issuer2)
        {
            var basePolicy = new Issuers(new [] { issuer1, issuer2 });
            var xml        = basePolicy.GetXml().ToString();

            xml.Should().Be(
                @$ "<issuers>
  <issuer>{issuer1}</issuer>
 public override XNode GetXml()
 {
     return(CreateElement(_openIdConfig?.GetXml(), _issuers?.GetXml(), _requiredClaims?.GetXml()));
 }