Class SingleCodeCouponValidationIT
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.couponservices.interceptor.SingleCodeCouponValidationIT
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class SingleCodeCouponValidationIT extends ServicelayerTest
-
-
Field Summary
-
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 SingleCodeCouponValidationIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testModifyCouponIdWhenActive()
void
testModifyCouponIdWhenNonActive()
void
testModifyWithWrongEndDate()
void
testSave()
void
testSaveBothMaxRedemptionsAreNull()
void
testSaveNewWithWrongEndDate()
void
testSaveRedemtionsPerCustomerBiggerTotalRedemtions()
void
testSaveWithStartDateAfterEndDate()
void
testSaveWrongMaxRedemptionsPerCustomer()
void
testSaveWrongMaxTotalRedemptions()
-
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
-
-
-
-
Method Detail
-
setUp
public void setUp()
-
testSave
public void testSave()
-
testModifyWithWrongEndDate
public void testModifyWithWrongEndDate()
-
testSaveNewWithWrongEndDate
public void testSaveNewWithWrongEndDate()
-
testSaveWithStartDateAfterEndDate
public void testSaveWithStartDateAfterEndDate()
-
testModifyCouponIdWhenActive
public void testModifyCouponIdWhenActive()
-
testModifyCouponIdWhenNonActive
public void testModifyCouponIdWhenNonActive()
-
testSaveWrongMaxRedemptionsPerCustomer
public void testSaveWrongMaxRedemptionsPerCustomer()
-
testSaveWrongMaxTotalRedemptions
public void testSaveWrongMaxTotalRedemptions()
-
testSaveBothMaxRedemptionsAreNull
public void testSaveBothMaxRedemptionsAreNull()
-
testSaveRedemtionsPerCustomerBiggerTotalRedemtions
public void testSaveRedemtionsPerCustomerBiggerTotalRedemtions()
-
-