public void CheckImportRateFor2017Is5Percentage() { boTaxRateRef lboTaxRateRef = new boTaxRateRef(); decimal ldecImportRate = lboTaxRateRef.iclcTaxRateRef.Where(x => x.tax_year == 2017).FirstOrDefault().imported_rate; Assert.AreEqual(ldecImportRate, 0.05m); }
public void CheckTaxRateRefFileCountIsNotChaged() { Collection <doTaxRateRef> lclcTaxRateRef = CreateTaxRateRefCollection(); boTaxRateRef lboTaxRateRef = new boTaxRateRef(); Assert.AreEqual(lclcTaxRateRef.Count, lboTaxRateRef.iclcTaxRateRef.Count); }