public void Is_pin_incorrect()
        {
            var sut       = new BasicPinValidationService();
            var encrypted = EncryptedPin.EncryptPin("1234");

            Assert.That(!sut.IsPinCorrect(encrypted, "1233"));
        }
        public void Can_get_encrypted_pin()
        {
            var sut       = new BasicPinValidationService();
            var encrypted = sut.GetEncryptedPin("1234");

            Assert.NotNull(encrypted);
            Assert.That(encrypted.PinsMatch("1234"));
        }
        public void Required_number_of_digits_correct()
        {
            var sut = new BasicPinValidationService();

            Assert.That(sut.RequiredPinDigits, Is.EqualTo(4));
        }