public void LookupByLastMonthlyPaymentDateTest() { DateTime lastPayment = DateTime.Today; List <t_accounts> expected = (from currAcc in Cache.CacheData.t_accounts where currAcc.last_month_paid == lastPayment select currAcc).ToList(); List <t_accounts> actual; actual = AccountAccess_Accessor.LookupByLastMonthlyPaymentDate(lastPayment); CollectionAssert.AreEqual(expected, actual); }