Class DefaultCartLoaderStrategyTest
java.lang.Object
de.hybris.platform.commercewebservicescommons.strategies.impl.DefaultCartLoaderStrategyTest
Test suite for
DefaultCartLoaderStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidDeprecated, for removal: This API element is subject to removal in a future version.not usedvoidDeprecated, for removal: This API element is subject to removal in a future version.not usedvoidDeprecated, for removal: This API element is subject to removal in a future version.not usedvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCartLoaderStrategyTest
public DefaultCartLoaderStrategyTest()
-
-
Method Details
-
setUp
public void setUp() -
testEmptyCartId
- Throws:
CommerceCartRestorationException
-
testNullCartId
- Throws:
CommerceCartRestorationException
-
testNoUserInSession
public void testNoUserInSession() -
testNoBaseSiteInSession
public void testNoBaseSiteInSession() -
testFailWhenNonCustomerUserAccessingCart
public void testFailWhenNonCustomerUserAccessingCart() -
testAnonymousUserCurrentCart
public void testAnonymousUserCurrentCart() -
testAnonymousUser
- Throws:
CommerceCartRestorationException
-
testAnonymousUserRestorationFailed
- Throws:
CommerceCartRestorationException
-
testValidateBaseSiteFromLoadedCart
- Throws:
CommerceCartRestorationException
-
testValidateBaseSiteFromLoadedCartMismatch
- Throws:
CommerceCartRestorationException
-
testValidateBaseSiteFromLoadedCartMismatchWhenCustomer
public void testValidateBaseSiteFromLoadedCartMismatchWhenCustomer() throws CommerceCartRestorationException- Throws:
CommerceCartRestorationException
-
testAnonymousUserCartNotFound
- Throws:
CommerceCartRestorationException
-
testCustomerUserCurrentCart
- Throws:
CommerceCartRestorationException
-
testCustomerUserCurrentCartRestorationFailed
- Throws:
CommerceCartRestorationException
-
testCustomerUserCurrentCartNotFound
- Throws:
CommerceCartRestorationException
-
testCustomerUser
- Throws:
CommerceCartRestorationException
-
testCustomerUserRestorationFailed
- Throws:
CommerceCartRestorationException
-
testCustomerUserCartNotFound
- Throws:
CommerceCartRestorationException
-
testFailWithErrorWhenAnonymousCartExpired
- Throws:
CommerceCartRestorationException
-
testFailWithErrorWhenCartExpired
- Throws:
CommerceCartRestorationException
-
testApplyCurrencyToCartAndRecalculate
@Deprecated(since="2011", forRemoval=true) public void testApplyCurrencyToCartAndRecalculate() throws CalculationExceptionDeprecated, for removal: This API element is subject to removal in a future version.not used- Throws:
CalculationException
-
testApplyCurrencyToCartAndRecalculateWithException
@Deprecated(since="2011", forRemoval=true) public void testApplyCurrencyToCartAndRecalculateWithException() throws CalculationExceptionDeprecated, for removal: This API element is subject to removal in a future version.not used- Throws:
CalculationException
-
testApplyCurrencyToCartAndNoRecalculate
@Deprecated(since="2011", forRemoval=true) public void testApplyCurrencyToCartAndNoRecalculate() throws CalculationExceptionDeprecated, for removal: This API element is subject to removal in a future version.not used- Throws:
CalculationException
-
testRestoreWhenCartWithDifferentCurrency
- Throws:
CommerceCartRestorationException
-
testNoRestoreWhenCartWithTheSameCurrency
- Throws:
CommerceCartRestorationException
-