public void CreateTextEmptyReference()
        {
            Bill             bill   = SampleQRCodeText.CreateBillData3();
            ValidationResult result = QRBill.Validate(bill);

            Assert.False(result.HasErrors);
            bill           = result.CleanedBill;
            bill.Reference = "";
            Assert.Equal(SampleQRCodeText.CreateQrCodeText3(false), QRBill.EncodeQrCodeText(bill));
        }
Esempio n. 2
0
 public void Validate()
 {
     Result        = QRBill.Validate(SourceBill);
     ValidatedBill = Result.CleanedBill;
 }