public void Verify_That_TaxAmount_Is_Returned() { decimal result = 0; //set up query and call logic result = _taxLogic.TaxAssessment( new TaxQuery { PostalCode = "7000", Amount = 7000 }); //assert that insert method was call Assert.IsInstanceOf(typeof(decimal), result); }
public decimal AssessmentTaxes(TaxQuery taxQuery) { try { return(_taxLogic.TaxAssessment(taxQuery)); } catch (Exception exception) { throw; } }