Class B2ctelcoCommerceCartMergingStrategyTest


  • @UnitTest
    public class B2ctelcoCommerceCartMergingStrategyTest
    extends de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartMergingStrategyTest
    JUnit test for @{B2ctelcoCommerceCartMergingStrategy}
    • Field Summary

      • Fields inherited from class de.hybris.platform.commerceservices.order.impl.DefaultCommerceCartMergingStrategyTest

        thrown
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setUp()  
      void shouldCartBeMergedWithDifferentProcessTypes()  
      void shouldMergeCartWithSameProcessTypes()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • B2ctelcoCommerceCartMergingStrategyTest

        public B2ctelcoCommerceCartMergingStrategyTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        setUp in class de.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