public void MaskPaymentRecord_WhenCreditCardValueIsProvided_ShouldShowLastFourDigitsAndMaskWithAsterisksTheRest(
            string actual, string expected)
        {
            //Arrange
            var paymentRecord = new PaymentRecord()
            {
                CardNumber = actual
            };
            var sut = new GetPaymentResponseMasker();

            //Act
            var result = sut.MaskPaymentRecord(paymentRecord);

            //Assert
            result.CardNumber.Should().Be(expected);
        }
        public void MaskPaymentRecord_WhenCreditCardValueIsNullOrEmpty_ShouldNotMaskValue()
        {
            //Arrange
            var creditCardNumber = string.Empty;
            var paymentRecord    = new PaymentRecord()
            {
                CardNumber = creditCardNumber
            };
            var sut = new GetPaymentResponseMasker();

            //Act
            var result = sut.MaskPaymentRecord(paymentRecord);

            //Assert
            result.CardNumber.Should().BeNullOrEmpty();
        }