public void GivenUnsupportedAlgorithmType_ThrowsNotSupportedException() { var unsupported = new CustomSignatureAlgorithm("CUSTOM"); Action act = () => _sut.FromSignatureAlgorithm(unsupported, _encryptionKey); act.Should().Throw <NotSupportedException>(); }
public void GivenUnsupportedAlgorithmType_ThrowsNotSupportedException() { var unsupported = new CustomSignatureAlgorithm("CUSTOM"); Action act = () => SignatureAlgorithmDataRecord.FromSignatureAlgorithm(unsupported); act.Should().Throw <NotSupportedException>(); }