Example #1
0
        public void ProtectShouldThrowNotImplementedException()
        {
            var instance = new JwtFormat("http://contoso.com", new TestIssuerSecurityTokenProvider("urn:issuer"));

            Should.Throw <NotSupportedException>(() => instance.Protect(null));
        }
Example #2
0
        public void ProtectShouldThrowNotImplementedException()
        {
            var instance = new JwtFormat("http://contoso.com", new TestIssuerSecurityTokenProvider("urn:issuer"));

            Should.Throw<NotSupportedException>(() => instance.Protect(null));
        }