@IntegrationTest public class DefaultBundleRuleServiceIntegrationTest extends ServicelayerTest
FindBundlePricingWithCurrentPriceFactoryStrategy and
DefaultBundleRuleServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
DefaultBundleRuleServiceIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected BundleRuleService |
getBundleRuleService() |
void |
setBundleRuleService(BundleRuleService bundleRuleService) |
void |
setUp() |
void |
shouldCalcPriceIndependentlyOnRestrictedPlans() |
void |
shouldCalcPriceIndependentlyOnUnapprovedPlans() |
void |
testAdd2Cart2Products() |
void |
testAdd2CartWithSmartPhonePackage() |
void |
testAdd2CartWithSmartPhonePackageAndStandalone() |
void |
testGetChangePriceBundleRule() |
void |
testGetChangePriceBundleRuleALLvsANY() |
void |
testGetChangePriceBundleRuleWhenBundleExists() |
void |
testGetChangePriceBundleRuleWithLowestPrice() |
void |
testGetDisableRuleForBundleProduct() |
void |
testGetDisableRuleForBundleProductWhenBundleExists() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic DefaultBundleRuleServiceIntegrationTest()
public void testAdd2CartWithSmartPhonePackage()
throws CommerceCartModificationException,
CalculationException
CommerceCartModificationExceptionCalculationExceptionpublic void testAdd2CartWithSmartPhonePackageAndStandalone()
throws CommerceCartModificationException,
CalculationException
CommerceCartModificationExceptionCalculationExceptionpublic void testAdd2Cart2Products()
throws CommerceCartModificationException,
CalculationException
CommerceCartModificationExceptionCalculationExceptionpublic void testGetChangePriceBundleRule()
public void shouldCalcPriceIndependentlyOnUnapprovedPlans()
public void shouldCalcPriceIndependentlyOnRestrictedPlans()
public void testGetChangePriceBundleRuleALLvsANY()
public void testGetDisableRuleForBundleProductWhenBundleExists()
throws CommerceCartModificationException
CommerceCartModificationExceptionpublic void testGetDisableRuleForBundleProduct()
public void testGetChangePriceBundleRuleWhenBundleExists()
throws CommerceCartModificationException,
CalculationException
CommerceCartModificationExceptionCalculationExceptionpublic void testGetChangePriceBundleRuleWithLowestPrice()
protected BundleRuleService getBundleRuleService()
public void setBundleRuleService(BundleRuleService bundleRuleService)
Copyright © 2017 SAP SE. All Rights Reserved.