Class DefaultSapCartFacadeTest
- java.lang.Object
-
- de.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.DefaultSapCartFacadeTest
-
@UnitTest public class DefaultSapCartFacadeTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultSapCartFacadeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestAddToCartStringLong()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long).voidtestAddToCartStringLongString()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long, java.lang.String).voidtestEstimateExternalTaxes()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#estimateExternalTaxes(java.lang.String, java.lang.String).voidtestGetBackendAvailabilityService()Test method forSapOrdermgmtB2BCartFacade.getBackendAvailabilityService().voidtestGetBaseStoreService()Test method forSapOrdermgmtB2BCartFacade.getBaseStoreService().voidtestGetCartRestorationFacade()Test method forSapOrdermgmtB2BCartFacade.getCartRestorationFacade().voidtestGetCartsForCurrentUser()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getCartsForCurrentUser().voidtestGetDeliveryCountries()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getDeliveryCountries().voidtestGetMiniCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getMiniCart().voidtestGetProductImageHelper()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getProductImageHelper().voidtestGetSapCartService()Test method forSapOrdermgmtB2BCartFacade.getSapCartService().voidtestGetSessionCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCart().voidtestGetSessionCartWithEntryOrdering()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#getSessionCartWithEntryOrdering(boolean).voidtestHasEntries()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasEntries().voidtestHasSessionCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#hasSessionCart().voidtestRemoveSessionCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeSessionCart().voidtestRemoveStaleCarts()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeStaleCarts().voidtestRestoreAnonymousCartAndMerge()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndMerge(java.lang.String, java.lang.String).voidtestRestoreAnonymousCartAndTakeOwnership()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndTakeOwnership(java.lang.String).voidtestRestoreCartAndMerge()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreCartAndMerge(java.lang.String, java.lang.String).voidtestRestoreSavedCart()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreSavedCart(java.lang.String).voidtestUpdateCartEntryLongLong()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, long).voidtestUpdateCartEntryLongString()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, java.lang.String).voidtestUpdateOrderEntry()voidtestValidateCartData()Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#validateCartData().
-
-
-
Method Detail
-
setUp
public void setUp()
-
testAddToCartStringLong
public void testAddToCartStringLong() throws CommerceCartModificationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long).
-
testAddToCartStringLongString
public void testAddToCartStringLongString() throws CommerceCartModificationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#addToCart(java.lang.String, long, java.lang.String).
-
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 forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeSessionCart().
-
testRemoveStaleCarts
public void testRemoveStaleCarts()
Test method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#removeStaleCarts().
-
testRestoreAnonymousCartAndMerge
public void testRestoreAnonymousCartAndMerge() throws CommerceCartMergingException, CommerceCartRestorationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndMerge(java.lang.String, java.lang.String).
-
testRestoreAnonymousCartAndTakeOwnership
public void testRestoreAnonymousCartAndTakeOwnership() throws CommerceCartRestorationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreAnonymousCartAndTakeOwnership(java.lang.String).- Throws:
CommerceCartRestorationException
-
testRestoreCartAndMerge
public void testRestoreCartAndMerge() throws CommerceCartRestorationException, CommerceCartMergingExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreCartAndMerge(java.lang.String, java.lang.String).
-
testRestoreSavedCart
public void testRestoreSavedCart() throws CommerceCartRestorationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#restoreSavedCart(java.lang.String).- Throws:
CommerceCartRestorationException
-
testUpdateCartEntryLongLong
public void testUpdateCartEntryLongLong() throws CommerceCartModificationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, long).
-
testUpdateCartEntryLongString
public void testUpdateCartEntryLongString() throws CommerceCartModificationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#updateCartEntry(long, java.lang.String).
-
testUpdateOrderEntry
public void testUpdateOrderEntry() throws CommerceCartModificationException
-
testValidateCartData
public void testValidateCartData() throws CommerceCartModificationExceptionTest method forde.hybris.platform.sap.sapordermgmtb2bfacades.cart.impl.SapOrdermgmtB2BCartFacade#validateCartData().
-
-