Class BundledCommerceCartServiceTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.configurablebundleservices.order.BundledCommerceCartServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class BundledCommerceCartServiceTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description protected BundleTemplateService
bundleTemplateService
protected CartModel
cart
protected CommerceCartService
commerceCartService
protected EntryGroupService
entryGroupService
protected ModelService
modelService
protected ProductService
productService
protected UserService
userService
-
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 BundledCommerceCartServiceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
shouldApplyDiscount()
void
shouldAssignBundlePropertiesToEntry()
void
shouldMergeEntries()
-
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
-
commerceCartService
protected CommerceCartService commerceCartService
-
modelService
protected ModelService modelService
-
userService
protected UserService userService
-
productService
protected ProductService productService
-
bundleTemplateService
protected BundleTemplateService bundleTemplateService
-
entryGroupService
protected EntryGroupService entryGroupService
-
cart
protected CartModel cart
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
shouldAssignBundlePropertiesToEntry
public void shouldAssignBundlePropertiesToEntry() throws CommerceCartModificationException
-
shouldMergeEntries
public void shouldMergeEntries() throws CommerceCartModificationException
-
shouldApplyDiscount
public void shouldApplyDiscount() throws CommerceCartModificationException
-
-