Esempio n. 1
0
        public void returns_correct_issuer_when_one_registered()
        {
            string issuerName = "testIssuer";
            var    issuer     = new IssuerInformation(issuerName, new NullSignatureAlgorithm());

            _signatureProvider.Register(issuer);
            Assert.AreSame(issuer, _signatureProvider.GetIssuer(issuerName),
                           "Incorrect issuer returned");
        }