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 for
DefaultCustomerCouponService-
Field Summary
FieldsFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProductModelgetProductByCode(String code) voidprepare()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Field Details
-
flexibleSearchService
-
-
Constructor Details
-
DefaultCustomerCouponServiceTest
public DefaultCustomerCouponServiceTest()
-
-
Method Details
-
prepare
- 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
-