public void WhenCreatingNewInvoiceList_CountRecordsShouldBeZero()
        {
            // arrange & act
            var invoiceList = new InvoiceList();

            // assert
            invoiceList.CountRecords().Should().Be(0);
        }
        public void WhenAddingRecordsToInvoiceList_RecordsSouldBeUpdated(List <Record> records)
        {
            // arrange
            var invoiceList = new InvoiceList();

            // act
            foreach (var record in records)
            {
                invoiceList.AddRecord(record);
            }

            // assert
            invoiceList.GetRecords().Should().NotBeEmpty();
            invoiceList.GetRecords().Should().BeEquivalentTo(records);
            invoiceList.CountRecords().Should().Be(records.Count);
        }