public void CalculateTotalNumberOfUnitsSoldTest() { var repo = new InvoiceRepository(); var invoiceList = repo.Retrieve(); var actual = repo.CalculateTotalNumberOfUnitsSold(invoiceList); Assert.AreEqual(136, actual); }