Class DefaultSapCartFacadeTest
java.lang.Object
de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.DefaultSapCartFacadeTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long, java.lang.String).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#estimateExternalTaxes(java.lang.String, java.lang.String).voidTest method forSapOrdermgmtB2BCartFacade.getBackendAvailabilityService().voidTest method forSapOrdermgmtB2BCartFacade.getBaseStoreService().voidTest method forSapOrdermgmtB2BCartFacade.getCartRestorationFacade().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getCartsForCurrentUser().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getDeliveryCountries().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getMiniCart().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getProductImageHelper().voidTest method forSapOrdermgmtB2BCartFacade.getSapCartService().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCart().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCartWithEntryOrdering(boolean).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasEntries().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasSessionCart().voidTest method forDefaultB2BCartFacade.removeSessionCart().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeStaleCarts().voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndMerge(java.lang.String, java.lang.String).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndTakeOwnership(java.lang.String).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreCartAndMerge(java.lang.String, java.lang.String).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreSavedCart(java.lang.String).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, long).voidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, java.lang.String).voidvoidTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#validateCartData().
-
Constructor Details
-
DefaultSapCartFacadeTest
public DefaultSapCartFacadeTest()
-
-
Method Details
-
setUp
public void setUp() -
testAddToCartStringLong
public void testAddToCartStringLong() throws de.hybris.platform.commerceservices.order.CommerceCartModificationExceptionTest method forde.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.CommerceCartModificationExceptionTest method forde.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 forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#estimateExternalTaxes(java.lang.String, java.lang.String). -
testGetBackendAvailabilityService
public void testGetBackendAvailabilityService()Test method forSapOrdermgmtB2BCartFacade.getBackendAvailabilityService(). -
testGetBaseStoreService
public void testGetBaseStoreService()Test method forSapOrdermgmtB2BCartFacade.getBaseStoreService(). -
testGetCartRestorationFacade
public void testGetCartRestorationFacade()Test method forSapOrdermgmtB2BCartFacade.getCartRestorationFacade(). -
testGetCartsForCurrentUser
public void testGetCartsForCurrentUser()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getCartsForCurrentUser(). -
testGetDeliveryCountries
public void testGetDeliveryCountries()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getDeliveryCountries(). -
testGetMiniCart
public void testGetMiniCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getMiniCart(). -
testGetProductImageHelper
public void testGetProductImageHelper()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getProductImageHelper(). -
testGetSapCartService
public void testGetSapCartService()Test method forSapOrdermgmtB2BCartFacade.getSapCartService(). -
testGetSessionCart
public void testGetSessionCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCart(). -
testGetSessionCartWithEntryOrdering
public void testGetSessionCartWithEntryOrdering()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCartWithEntryOrdering(boolean). -
testHasEntries
public void testHasEntries()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasEntries(). -
testHasSessionCart
public void testHasSessionCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasSessionCart(). -
testRemoveSessionCart
public void testRemoveSessionCart()Test method forDefaultB2BCartFacade.removeSessionCart(). -
testRemoveStaleCarts
public void testRemoveStaleCarts()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeStaleCarts(). -
testRestoreAnonymousCartAndMerge
public void testRestoreAnonymousCartAndMerge() throws de.hybris.platform.commerceservices.order.CommerceCartMergingException, de.hybris.platform.commerceservices.order.CommerceCartRestorationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndMerge(java.lang.String, java.lang.String).- Throws:
de.hybris.platform.commerceservices.order.CommerceCartRestorationExceptionde.hybris.platform.commerceservices.order.CommerceCartMergingException
-
testRestoreAnonymousCartAndTakeOwnership
public void testRestoreAnonymousCartAndTakeOwnership() throws de.hybris.platform.commerceservices.order.CommerceCartRestorationExceptionTest method forde.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.CommerceCartMergingExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreCartAndMerge(java.lang.String, java.lang.String).- Throws:
de.hybris.platform.commerceservices.order.CommerceCartMergingExceptionde.hybris.platform.commerceservices.order.CommerceCartRestorationException
-
testRestoreSavedCart
public void testRestoreSavedCart() throws de.hybris.platform.commerceservices.order.CommerceCartRestorationExceptionTest method forde.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.CommerceCartModificationExceptionTest method forde.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.CommerceCartModificationExceptionTest method forde.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.CommerceCartModificationExceptionTest method forSapOrdermgmtB2BCartFacade.updateOrderEntry(de.hybris.platform.commercefacades.order.data.OrderEntryData)- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-
testValidateCartData
public void testValidateCartData() throws de.hybris.platform.commerceservices.order.CommerceCartModificationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#validateCartData().- Throws:
de.hybris.platform.commerceservices.order.CommerceCartModificationException
-