@IntegrationTest public class DefaultBundleTemplateServiceNestedCSIntegrationTest extends ServicelayerTest
BundleTemplateService. Contains tests moved from
DefaultBundleTemplateServiceNestedIntegrationTest which rely on using
BundleCommerceCartService.| Modifier and Type | Field and Description |
|---|---|
protected BundleTemplateService |
bundleTemplateService |
protected CartModel |
cart |
static java.lang.String |
CATALOG_ID |
static java.lang.String |
PRODUCT01 |
static java.lang.String |
REGULAR_COMPONENT |
ExpectedException |
thrown |
protected UnitModel |
unitModel |
importServicejaloSession| Constructor and Description |
|---|
DefaultBundleTemplateServiceNestedCSIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected CatalogVersionModel |
getCatalog() |
protected ProductModel |
getProduct(java.lang.String code) |
void |
setUp() |
void |
shouldCorrectlyDetermineAutopickComponents() |
void |
shouldKnowWhetherBundleIsUsedByCart() |
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 REGULAR_COMPONENT
public static final java.lang.String PRODUCT01
public static final java.lang.String CATALOG_ID
public ExpectedException thrown
protected BundleTemplateService bundleTemplateService
protected UnitModel unitModel
protected CartModel cart
public DefaultBundleTemplateServiceNestedCSIntegrationTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldKnowWhetherBundleIsUsedByCart()
throws CommerceCartModificationException
public void shouldCorrectlyDetermineAutopickComponents()
protected CatalogVersionModel getCatalog()
protected ProductModel getProduct(java.lang.String code)
Copyright © 2018 SAP SE. All Rights Reserved.