Class DefaultCustomerCouponServiceTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultCustomerCouponServiceTest extends ServicelayerTransactionalTest
Integration test for DefaultCustomerCouponService
  • Field Details

  • Constructor Details

    • DefaultCustomerCouponServiceTest

      public DefaultCustomerCouponServiceTest()
  • Method Details

    • prepare

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

      public void testSaveCouponNotification()
    • testGetCustomerCouponsForCustomer

      public void testGetCustomerCouponsForCustomer()
    • testGetEffectiveCustomerCouponsForCustomer

      public void testGetEffectiveCustomerCouponsForCustomer()
    • testAssignCouponToCustomer

      public void testAssignCouponToCustomer()
    • testGetValidCustomerCouponByCode

      public void testGetValidCustomerCouponByCode()
    • testRemoveCouponForCustomer

      public void testRemoveCouponForCustomer()
    • testGetPromotionSourceRuleForCouponCode

      public void testGetPromotionSourceRuleForCouponCode()
    • testGetPromotionSourceRulesForProduct

      public void testGetPromotionSourceRulesForProduct()
    • testGetPromotionSourceRulesForCategory

      public void testGetPromotionSourceRulesForCategory()
    • testGetCouponCodeForPromotionSourceRule

      public void testGetCouponCodeForPromotionSourceRule()
    • testCountProductOrCategoryForPromotionSourceRule

      public void testCountProductOrCategoryForPromotionSourceRule()
    • testRemoveCouponNotificationByCode

      public void testRemoveCouponNotificationByCode()
    • testGetCouponNotificationStatus

      public void testGetCouponNotificationStatus()
    • testGetPaginatedCouponsForCustomer_incorrect_sort

      public void testGetPaginatedCouponsForCustomer_incorrect_sort()
    • testGetPaginatedCouponsForCustomer_correct_sort

      public void testGetPaginatedCouponsForCustomer_correct_sort()
    • testGetExclPromotionSourceRulesForProduct

      public void testGetExclPromotionSourceRulesForProduct()
    • testGetExclPromotionSourceRulesForCategory

      public void testGetExclPromotionSourceRulesForCategory()
    • testGetPaginatedCouponsForCustomer_null_params

      public void testGetPaginatedCouponsForCustomer_null_params()
    • testGetExclPromotionSourceRulesForProduct_null_params

      public void testGetExclPromotionSourceRulesForProduct_null_params()
    • testGetExclPromotionSourceRulesForCategory_null_params

      public void testGetExclPromotionSourceRulesForCategory_null_params()
    • testGetCouponNotificationsForCustomer

      public void testGetCouponNotificationsForCustomer()
    • testGetPromotionSourcesRuleForProductCategoriesNull

      public void testGetPromotionSourcesRuleForProductCategoriesNull()
    • testGetPromotionSourcesRuleForProductCategoriesNon

      public void testGetPromotionSourcesRuleForProductCategoriesNon()
    • getProductByCode

      protected ProductModel getProductByCode(String code)