Class DefaultFlashBuyDaoTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultFlashBuyDaoTest extends ServicelayerTransactionalTest
Integration test for DefaultFlashBuyDaoTest
  • Constructor Details

    • DefaultFlashBuyDaoTest

      public DefaultFlashBuyDaoTest()
  • Method Details

    • prepare

      public void prepare() throws ImpExException
      Throws:
      ImpExException
    • testFindFlashBuyCouponbyPromotionCode

      public void testFindFlashBuyCouponbyPromotionCode()
    • testFindProductByPromotion

      public void testFindProductByPromotion()
    • testFindPromotionSourceRuleByProduct

      public void testFindPromotionSourceRuleByProduct()
    • testFindPromotionSourceRuleByProduct_unbind_promotionSourceRule

      public void testFindPromotionSourceRuleByProduct_unbind_promotionSourceRule()
    • testFindPromotionSourceRuleByProduct_unpublished_promotionSourceRule

      public void testFindPromotionSourceRuleByProduct_unpublished_promotionSourceRule()
    • testfindProductForPromotionSourceRules

      public void testfindProductForPromotionSourceRules()
    • testFindAllProductsByPromotionSourceRule_one_products

      public void testFindAllProductsByPromotionSourceRule_one_products()
      expect find one product
    • testFindAllProductsByPromotionSourceRule_two_products

      public void testFindAllProductsByPromotionSourceRule_two_products()
      expect find two product
    • testFindAllProductsByPromotionSourceRule_zero_products

      public void testFindAllProductsByPromotionSourceRule_zero_products()
      expect find zero product
    • findPromotionSourceRule

      protected PromotionSourceRuleModel findPromotionSourceRule(String ruleCode)
    • testFindFlashBuyCouponByProduct_one_flashbuycoupon

      public void testFindFlashBuyCouponByProduct_one_flashbuycoupon()
      expect find one flashbuycoupon
    • testFindFlashBuyCouponByProduct_zero_flashbuycoupon

      public void testFindFlashBuyCouponByProduct_zero_flashbuycoupon()
      expect find zero flashbuycoupon