@IntegrationTest public class BundleOrderEntryRemoveableCheckerNestedIntegrationTest extends ServicelayerTest
| Modifier and Type | Field and Description |
|---|---|
protected BundleCommerceCartService |
bundleCommerceCartService |
protected CartModel |
cart |
static java.lang.String |
OPTIONAL_COMPONENT |
static java.lang.String |
PRODUCT01 |
protected ProductService |
productService |
static java.lang.String |
REGULAR_COMPONENT |
protected UnitModel |
unitModel |
protected UserService |
userService |
importServicejaloSession| Constructor and Description |
|---|
BundleOrderEntryRemoveableCheckerNestedIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToCart(java.lang.String productCode) |
protected void |
addToCart(java.lang.String productCode,
java.lang.String componentId,
int bundleNo) |
protected BundleTemplateModel |
getBundleTemplate(java.lang.String templateId) |
protected CatalogVersionModel |
getCatalog() |
protected ProductModel |
getProduct(java.lang.String code) |
void |
setUp() |
void |
shouldDeleteItemsWhichSatisfyMinCondition() |
void |
shouldNotDeleteItemsWhichDontSatisfyMinCondition() |
void |
shouldRemoveNonBundleEntry() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static final java.lang.String PRODUCT01
public static final java.lang.String REGULAR_COMPONENT
public static final java.lang.String OPTIONAL_COMPONENT
protected CartModel cart
protected UnitModel unitModel
protected UserService userService
protected BundleCommerceCartService bundleCommerceCartService
protected ProductService productService
public BundleOrderEntryRemoveableCheckerNestedIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldNotDeleteItemsWhichDontSatisfyMinCondition()
throws CommerceCartModificationException,
CalculationException
public void shouldDeleteItemsWhichSatisfyMinCondition()
throws CommerceCartModificationException,
CalculationException
public void shouldRemoveNonBundleEntry()
throws CommerceCartModificationException,
CalculationException
protected void addToCart(java.lang.String productCode,
java.lang.String componentId,
int bundleNo)
throws CommerceCartModificationException
protected void addToCart(java.lang.String productCode)
throws CommerceCartModificationException
protected ProductModel getProduct(java.lang.String code)
protected BundleTemplateModel getBundleTemplate(java.lang.String templateId)
protected CatalogVersionModel getCatalog()
Copyright © 2018 SAP SE. All Rights Reserved.