Ejemplo n.º 1
0
            public void GivenUnsupportedAlgorithmType_ThrowsNotSupportedException()
            {
                var    unsupported = new CustomSignatureAlgorithm("CUSTOM");
                Action act         = () => _sut.FromSignatureAlgorithm(unsupported, _encryptionKey);

                act.Should().Throw <NotSupportedException>();
            }
Ejemplo n.º 2
0
            public void GivenUnsupportedAlgorithmType_ThrowsNotSupportedException()
            {
                var    unsupported = new CustomSignatureAlgorithm("CUSTOM");
                Action act         = () => SignatureAlgorithmDataRecord.FromSignatureAlgorithm(unsupported);

                act.Should().Throw <NotSupportedException>();
            }