public void SetReportRowText_HappyPath() { var lease = "A"; var dateReceived = new DateTime(2000, 1, 1); var effectiveDate = new DateTime(2001, 1, 1); var leasePakOperatorInitials = "F"; var paymentType = "G"; var amount = 1000.00m; var amountReversed = 2000.00m; var paymentDueDate = new DateTime(2002, 1, 1); var invoiceNumber = "K"; var obj = new CashReceiptsReportRow(); obj.SetReportRowText($"{lease} B {dateReceived:MM/dd/yyyy} D {effectiveDate:MM/dd/yyyy} {leasePakOperatorInitials} {paymentType} {amount} {amountReversed} {paymentDueDate:MM/dd/yyyy} {invoiceNumber} L", new List <int>() { 1, 3, 14, 16, 27, 29, 31, 39, 47, 58, 60 }); Assert.AreEqual(lease, obj.GetLeaseNumber()); Assert.AreEqual(dateReceived, obj.GetDateReceived()); Assert.AreEqual(effectiveDate, obj.GetEffectiveDate()); Assert.AreEqual(leasePakOperatorInitials, obj.GetLeasePakOperatorInitials()); Assert.AreEqual(paymentType, obj.GetPaymentType()); Assert.AreEqual(amount, obj.GetAmount()); Assert.AreEqual(amountReversed, obj.GetAmountReversed()); Assert.AreEqual(paymentDueDate, obj.GetPaymentDueDate()); Assert.AreEqual(invoiceNumber, obj.GetInvoiceNumber()); }