Class TmaCommerceCartServiceIntegrationTest

  • All Implemented Interfaces:
    de.hybris.platform.testframework.JaloSessionHolder

    @IntegrationTest(replaces=de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest.class)
    public class TmaCommerceCartServiceIntegrationTest
    extends de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
    Replaces DefaultCommerceCartServiceIntegrationTest
    Since:
    1907
    • Constructor Detail

      • TmaCommerceCartServiceIntegrationTest

        public TmaCommerceCartServiceIntegrationTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        java.lang.Exception
      • testAddToCart

        public void testAddToCart()
                           throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testAddToCart in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testAddToCartBpo

        public void testAddToCartBpo()
                              throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testAddToCartInsufficientStock

        public void testAddToCartInsufficientStock()
                                            throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testAddToCartInsufficientStock in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testAddToCartUnavailable

        public void testAddToCartUnavailable()
                                      throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testAddToCartUnavailable in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testAddToCartToTheSameEntry

        public void testAddToCartToTheSameEntry()
                                         throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testAddToCartToTheSameEntry in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testAddToCartForceNewEntry

        public void testAddToCartForceNewEntry()
                                        throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testAddToCartForceNewEntry in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testCalculateCart

        public void testCalculateCart()
        Overrides:
        testCalculateCart in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testCalculateCartEntriesAfterAddingToCart

        public void testCalculateCartEntriesAfterAddingToCart()
                                                       throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testCalculateCartEntriesAfterAddingToCart in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testRecalculateCart

        public void testRecalculateCart()
        Overrides:
        testRecalculateCart in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testRemoveAllEntries

        public void testRemoveAllEntries()
        Overrides:
        testRemoveAllEntries in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testUpdateQuantityForCartEntry

        public void testUpdateQuantityForCartEntry()
                                            throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testUpdateQuantityForCartEntry in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testUpdateQuantityForCartEntryToZero

        public void testUpdateQuantityForCartEntryToZero()
                                                  throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
        Overrides:
        testUpdateQuantityForCartEntryToZero in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
        Throws:
        de.hybris.platform.commerceservices.order.CommerceCartModificationException
      • testValidateCart

        public void testValidateCart()
        Overrides:
        testValidateCart in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • shouldCreatePromotionActionForPromotionResult

        public void shouldCreatePromotionActionForPromotionResult()
        Overrides:
        shouldCreatePromotionActionForPromotionResult in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testGetCartForGuidAndSiteAndUserWithNullGuid

        public void testGetCartForGuidAndSiteAndUserWithNullGuid()
        Overrides:
        testGetCartForGuidAndSiteAndUserWithNullGuid in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testUpdateCartMetadata

        public void testUpdateCartMetadata()
        Overrides:
        testUpdateCartMetadata in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • shouldReportOnAddingToNonExistingEntry

        public void shouldReportOnAddingToNonExistingEntry()
        Overrides:
        shouldReportOnAddingToNonExistingEntry in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testPreviewTime

        public void testPreviewTime()
        Overrides:
        testPreviewTime in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest
      • testAddToCartWhenNoCartPassed

        public void testAddToCartWhenNoCartPassed()
        Overrides:
        testAddToCartWhenNoCartPassed in class de.hybris.platform.commerceservices.order.DefaultCommerceCartServiceIntegrationTest