public void GetPercentageFee() { decimal amountTTC = 10; decimal feePercentage = 10; decimal feeAmount = 1; if (PriceHelper.GetFeePercentage(amountTTC, feeAmount).Round2() != feePercentage) { throw new Exception(); } }