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
Fields Modifier and Type Field Description protected CartModelcartprotected CommerceCartServicecommerceCartServicestatic java.lang.StringOPTIONAL_COMPONENTstatic java.lang.StringPRODUCT01protected ProductServiceproductServicestatic java.lang.StringREGULAR_COMPONENTprotected UnitModelunitModelprotected UserServiceuserService-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description BundleOrderEntryRemoveableCheckerNestedIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddToCart(java.lang.String productCode)protected voidaddToCart(java.lang.String productCode, java.lang.String componentId)protected BundleTemplateModelgetBundleTemplate(java.lang.String templateId)protected CatalogVersionModelgetCatalog()protected ProductModelgetProduct(java.lang.String code)voidsetUp()voidshouldDeleteItemsWhichSatisfyMinCondition()voidshouldNotDeleteItemsWhichDontSatisfyMinCondition()voidshouldRemoveNonBundleEntry()-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Field Detail
-
PRODUCT01
public static final java.lang.String PRODUCT01
- See Also:
- Constant Field Values
-
REGULAR_COMPONENT
public static final java.lang.String REGULAR_COMPONENT
- See Also:
- Constant Field Values
-
OPTIONAL_COMPONENT
public static final java.lang.String OPTIONAL_COMPONENT
- See Also:
- Constant Field Values
-
cart
protected CartModel cart
-
unitModel
protected UnitModel unitModel
-
userService
protected UserService userService
-
commerceCartService
protected CommerceCartService commerceCartService
-
productService
protected ProductService productService
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.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(java.lang.String productCode, java.lang.String componentId) throws CommerceCartModificationException
-
addToCart
protected void addToCart(java.lang.String productCode) throws CommerceCartModificationException
-
getProduct
protected ProductModel getProduct(java.lang.String code)
-
getBundleTemplate
protected BundleTemplateModel getBundleTemplate(java.lang.String templateId)
-
getCatalog
protected CatalogVersionModel getCatalog()
-
-