public void CalculateOverweightFeeExtraLargeParcel() { var feeCalculator = new ParcelOverweightFeeCalculator(); var fee = feeCalculator.CalculateOverWeightFee(ParcelSizeFactor.ExtraLarge); Assert.AreEqual(2, fee); }
public void CalculateOverweightFeeMediumParcel() { var feeCalculator = new ParcelOverweightFeeCalculator(); var fee = feeCalculator.CalculateOverWeightFee(ParcelSizeFactor.Medium); Assert.AreEqual(2, fee); }