Package de.hybris.platform.promotions
Class ProductFixedPricePromotionTest
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.promotions.AbstractPromotionTest
de.hybris.platform.promotions.ProductFixedPricePromotionTest
- All Implemented Interfaces:
JaloSessionHolder
Test for ProductFixedPricePromotion.
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
Constructor Details
-
ProductFixedPricePromotionTest
public ProductFixedPricePromotionTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classAbstractPromotionTest- Throws:
Exception
-
testProductFixedPricePromotion
Quite straightforward test. Adds one product to cart, which costs 253 Euro, and update promotion which fires the ProductFixedPricePromotion, and afterwards the customer only needs to pay 200 Euro.- Throws:
CalculationException
-