Class BundleOrderEntryRemoveableCheckerNestedIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.configurablebundleservices.bundle.impl.BundleOrderEntryRemoveableCheckerNestedIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class BundleOrderEntryRemoveableCheckerNestedIntegrationTest
extends ServicelayerTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CartModelprotected CommerceCartServicestatic final Stringstatic final Stringprotected ProductServicestatic final Stringprotected UnitModelprotected UserServiceFields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected BundleTemplateModelgetBundleTemplate(String templateId) protected CatalogVersionModelprotected ProductModelgetProduct(String code) voidsetUp()voidvoidvoidMethods 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
-
Field Details
-
PRODUCT01
- See Also:
-
REGULAR_COMPONENT
- See Also:
-
OPTIONAL_COMPONENT
- See Also:
-
cart
-
unitModel
-
userService
-
commerceCartService
-
productService
-
-
Constructor Details
-
BundleOrderEntryRemoveableCheckerNestedIntegrationTest
public BundleOrderEntryRemoveableCheckerNestedIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
shouldNotDeleteItemsWhichDontSatisfyMinCondition
public void shouldNotDeleteItemsWhichDontSatisfyMinCondition() throws CommerceCartModificationException, CalculationException -
shouldDeleteItemsWhichSatisfyMinCondition
public void shouldDeleteItemsWhichSatisfyMinCondition() throws CommerceCartModificationException, CalculationException -
shouldRemoveNonBundleEntry
public void shouldRemoveNonBundleEntry() throws CommerceCartModificationException, CalculationException -
addToCart
protected void addToCart(String productCode, String componentId) throws CommerceCartModificationException -
addToCart
-
getProduct
-
getBundleTemplate
-
getCatalog
-