@IntegrationTest public class PromotionBillingTimeRestrictionIntegrationTest extends ServicelayerTest
PromotionBillingTimeRestriction.defaultLanguage, jaloSession| Constructor and Description |
|---|
PromotionBillingTimeRestrictionIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected CartModel |
getChildCartForBillingTime(CartModel masterCartModel,
BillingTimeModel billingTimeModel) |
protected boolean |
isPromoCodeInPromoResult(CartModel cartModel,
String expectedPromoCode) |
void |
setUp() |
protected CartModel |
setupMasterCart() |
protected void |
setupProducts() |
void |
testPromotionBillingTimeRestriction()
Import multiple subscription entitlements of the same type for a subscription product, for example, a trial period
entitlement and a normal entitlement
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic PromotionBillingTimeRestrictionIntegrationTest()
public void testPromotionBillingTimeRestriction()
throws CommerceCartModificationException
CommerceCartModificationExceptionprotected boolean isPromoCodeInPromoResult(CartModel cartModel, String expectedPromoCode)
protected void setupProducts()
protected CartModel setupMasterCart()
protected CartModel getChildCartForBillingTime(CartModel masterCartModel, BillingTimeModel billingTimeModel)
Copyright © 2017 SAP SE. All Rights Reserved.