Class B2ctelcoCommerceCartMergingStrategyTest
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartMergingStrategyTest
-
- de.hybris.platform.b2ctelcoservices.order.impl.B2ctelcoCommerceCartMergingStrategyTest
-
@UnitTest public class B2ctelcoCommerceCartMergingStrategyTest extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartMergingStrategyTestJUnit test for @{B2ctelcoCommerceCartMergingStrategy}
-
-
Constructor Summary
Constructors Constructor Description B2ctelcoCommerceCartMergingStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldCartBeMergedWithDifferentProcessTypes()voidshouldMergeCartWithSameProcessTypes()-
Methods inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartMergingStrategyTest
shouldAddClonedEntryToCartAndResolveEntryNumberConflictsIfThereIsNoEntryToMerge, shouldCheckThatTheCartsAreDistinct, shouldCheckTheModificationListIsNotNull, shouldCheckTheSourceCartIsNotNull, shouldCheckTheTargetCartIsNotNull, shouldCopyEntryGroupsWhenToCartEntryGroupsIsEmpty, shouldCopyEntryGroupsWhenToCartEntryGroupsIsNotEmpty, shouldFromCartSiteEqualWithCurrentSite, shouldInvokeUpdateQuantityForCartEntryIfThereIsEntryToMerge, shouldMergeEntriesIfThereIsEntryToMerge, shouldNotCopyEntryGroupsWhenFromCartEntryGroupsIsEmpty, shouldNotMergeForAnonymousUser, shouldNotMergeForNullUser, shouldReindexEntriesAlongWithGroups, shouldRemoveTheFromCart, shouldResolveEntryGroupNumberConflicts, shouldSaveTheToCart, shouldToCartSiteEqualWithCurrentSite
-
-
-
-
Method Detail
-
setUp
public void setUp() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException- Overrides:
setUpin classde.hybris.platform.commerceservices.order.impl.DefaultCommerceCartMergingStrategyTest- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-
shouldMergeCartWithSameProcessTypes
public void shouldMergeCartWithSameProcessTypes() throws de.hybris.platform.commerceservices.order.CommerceCartMergingException- Throws:
de.hybris.platform.commerceservices.order.CommerceCartMergingException
-
shouldCartBeMergedWithDifferentProcessTypes
public void shouldCartBeMergedWithDifferentProcessTypes() throws de.hybris.platform.commerceservices.order.CommerceCartMergingException- Throws:
de.hybris.platform.commerceservices.order.CommerceCartMergingException
-
-