Class DefaultCustomerCouponServiceTest

    • Constructor Detail

      • DefaultCustomerCouponServiceTest

        public DefaultCustomerCouponServiceTest()
    • Method Detail

      • 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​(java.lang.String code)