Class AbstractVoucherTest

All Implemented Interfaces:
JaloSessionHolder
Direct Known Subclasses:
VoucherDeliveryCostBug_PLA_10914_JaloTest, VoucherDeliveryCostBug_PLA_10914_SLayerTest

public abstract class AbstractVoucherTest extends ServicelayerTest
  • Field Details

  • Constructor Details

    • AbstractVoucherTest

      public AbstractVoucherTest()
  • Method Details

    • setUp

      public void setUp() throws ConsistencyCheckException
      Throws:
      ConsistencyCheckException
    • tearDown

      public void tearDown()
    • getModelService

      protected ModelService getModelService()
      Returns:
      the modelService
    • setModelService

      protected void setModelService(ModelService modelService)
      Parameters:
      modelService - the modelService to set
    • getDeliveryMode

      protected DeliveryModeModel getDeliveryMode()
      Returns:
      the deliveryMode
    • setDeliveryMode

      protected void setDeliveryMode(DeliveryModeModel deliveryMode)
      Parameters:
      deliveryMode - the deliveryMode to set
    • getProduct

      protected ProductModel getProduct()
      Returns:
      the product
    • setProduct

      protected void setProduct(ProductModel product)
      Parameters:
      product - the product to set
    • getPromotionVoucher

      protected PromotionVoucherModel getPromotionVoucher()
      Returns:
      the promotionVoucher
    • setPromotionVoucher

      protected void setPromotionVoucher(PromotionVoucherModel promotionVoucher)
      Parameters:
      promotionVoucher - the promotionVoucher to set
    • getUnit

      protected UnitModel getUnit()
      Returns:
      the unit
    • setUnit

      protected void setUnit(UnitModel unit)
      Parameters:
      unit - the unit to set
    • getDiscountAmount

      protected double getDiscountAmount()
      Returns:
      the discountAmount
    • setDiscountAmount

      protected void setDiscountAmount(double discountAmount)
      Parameters:
      discountAmount - the discountAmount to set