Class DefaultCustomerCouponServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.servicelayer.ServicelayerTransactionalTest
-
- de.hybris.platform.customercouponservices.impl.DefaultCustomerCouponServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class DefaultCustomerCouponServiceTest extends ServicelayerTransactionalTest
Integration test forDefaultCustomerCouponService
-
-
Field Summary
Fields Modifier and Type Field Description protected FlexibleSearchService
flexibleSearchService
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerCouponServiceTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
flexibleSearchService
protected FlexibleSearchService flexibleSearchService
-
-
Method Detail
-
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(java.lang.String code)
-
-