Class DefaultSapCartFacadeTest

java.lang.Object
de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.DefaultSapCartFacadeTest

@UnitTest public class DefaultSapCartFacadeTest extends Object
  • Constructor Details

    • DefaultSapCartFacadeTest

      public DefaultSapCartFacadeTest()
  • Method Details

    • setUp

      public void setUp()
    • testAddToCartStringLong

      public void testAddToCartStringLong() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • testAddToCartStringLongString

      public void testAddToCartStringLongString() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long, java.lang.String) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • testEstimateExternalTaxes

      public void testEstimateExternalTaxes()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#estimateExternalTaxes(java.lang.String, java.lang.String) .
    • testGetBackendAvailabilityService

      public void testGetBackendAvailabilityService()
    • testGetBaseStoreService

      public void testGetBaseStoreService()
    • testGetCartRestorationFacade

      public void testGetCartRestorationFacade()
    • testGetCartsForCurrentUser

      public void testGetCartsForCurrentUser()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getCartsForCurrentUser() .
    • testGetDeliveryCountries

      public void testGetDeliveryCountries()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getDeliveryCountries().
    • testGetMiniCart

      public void testGetMiniCart()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getMiniCart().
    • testGetProductImageHelper

      public void testGetProductImageHelper()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getProductImageHelper().
    • testGetSapCartService

      public void testGetSapCartService()
    • testGetSessionCart

      public void testGetSessionCart()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCart().
    • testGetSessionCartWithEntryOrdering

      public void testGetSessionCartWithEntryOrdering()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCartWithEntryOrdering(boolean) .
    • testHasEntries

      public void testHasEntries()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasEntries().
    • testHasSessionCart

      public void testHasSessionCart()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasSessionCart().
    • testRemoveSessionCart

      public void testRemoveSessionCart()
      Test method for DefaultB2BCartFacade.removeSessionCart().
    • testRemoveStaleCarts

      public void testRemoveStaleCarts()
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeStaleCarts().
    • testRestoreAnonymousCartAndMerge

      public void testRestoreAnonymousCartAndMerge() throws de.hybris.platform.commerceservices.order.CommerceCartMergingException, de.hybris.platform.commerceservices.order.CommerceCartRestorationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndMerge(java.lang.String, java.lang.String) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartRestorationException
      de.hybris.platform.commerceservices.order.CommerceCartMergingException
    • testRestoreAnonymousCartAndTakeOwnership

      public void testRestoreAnonymousCartAndTakeOwnership() throws de.hybris.platform.commerceservices.order.CommerceCartRestorationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndTakeOwnership(java.lang.String) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartRestorationException
    • testRestoreCartAndMerge

      public void testRestoreCartAndMerge() throws de.hybris.platform.commerceservices.order.CommerceCartRestorationException, de.hybris.platform.commerceservices.order.CommerceCartMergingException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreCartAndMerge(java.lang.String, java.lang.String) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartMergingException
      de.hybris.platform.commerceservices.order.CommerceCartRestorationException
    • testRestoreSavedCart

      public void testRestoreSavedCart() throws de.hybris.platform.commerceservices.order.CommerceCartRestorationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreSavedCart(java.lang.String) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartRestorationException
    • testUpdateCartEntryLongLong

      public void testUpdateCartEntryLongLong() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, long) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • testUpdateCartEntryLongString

      public void testUpdateCartEntryLongString() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, java.lang.String) .
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • testUpdateOrderEntry

      public void testUpdateOrderEntry() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • testValidateCartData

      public void testValidateCartData() throws de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Test method for de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#validateCartData().
      Throws:
      de.hybris.platform.commerceservices.order.CommerceCartModificationException