Class DefaultCartFacadeTest
- java.lang.Object
-
- de.hybris.platform.commercefacades.order.impl.DefaultCartFacadeTest
-
@UnitTest public class DefaultCartFacadeTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultCartFacadeTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp()
-
testGetSessionCart
public void testGetSessionCart()
-
testGetSessionCartNull
public void testGetSessionCartNull()
-
testHasSessionCartFalse
public void testHasSessionCartFalse()
-
testHasSessionCartTrue
public void testHasSessionCartTrue()
-
testGetMiniCart
public void testGetMiniCart()
-
testGetMiniCartEmpty
public void testGetMiniCartEmpty()
-
testAddToCart
public void testAddToCart() throws CommerceCartModificationException
-
addToCartShouldPassPointOfService
public void addToCartShouldPassPointOfService() throws CommerceCartModificationException
-
testUpdateCartEntry
public void testUpdateCartEntry() throws CommerceCartModificationException
-
updateCartEntryShouldPassPOS
public void updateCartEntryShouldPassPOS() throws CommerceCartModificationException
-
testGetDeliveryCountries
public void testGetDeliveryCountries()
-
testGetMostRecentCartForUser
public void testGetMostRecentCartForUser()
-
testUpdateOrderEntryForNonMultiD
public void testUpdateOrderEntryForNonMultiD() throws CommerceCartModificationException
-
testUpdateOrderEntryForMultiDUpdate
public void testUpdateOrderEntryForMultiDUpdate() throws CommerceCartModificationException
-
testUpdateOrderEntryMultiDAdd
public void testUpdateOrderEntryMultiDAdd() throws CommerceCartModificationException
-
getOrderEntryData
protected OrderEntryData getOrderEntryData(int entryNumber, long qty, java.lang.String productCode)
-
testConfigureCartEntry
public void testConfigureCartEntry() throws CommerceCartModificationException
-
testConfigureCartEntryMultipleConfigurators
public void testConfigureCartEntryMultipleConfigurators() throws CommerceCartModificationException
-
testMergeProductConfigurations
public void testMergeProductConfigurations() throws CommerceCartModificationException
-
testMergeWithEmptyOrderEntryConfiguration
public void testMergeWithEmptyOrderEntryConfiguration() throws CommerceCartModificationException
-
testUpdateCartEntryWithEmptyConfiguration
public void testUpdateCartEntryWithEmptyConfiguration() throws CommerceCartModificationException
-
testUpdateCartMetadataNullMetadata
public void testUpdateCartMetadataNullMetadata()
-
testUpdateCartMetadata
public void testUpdateCartMetadata()
-
testRestoreSavedCartEmpty
public void testRestoreSavedCartEmpty() throws java.lang.Exception- Throws:
java.lang.Exception
-
testRestoreSavedCartWithEntries
public void testRestoreSavedCartWithEntries() throws java.lang.Exception- Throws:
java.lang.Exception
-
testRestoreSavedCartWithEntryGroups
public void testRestoreSavedCartWithEntryGroups() throws java.lang.Exception- Throws:
java.lang.Exception
-
setUpServiceMocks
protected void setUpServiceMocks(CartData cartData)
-
setUpProductModel
protected ProductModel setUpProductModel()
-
verifyAddToCartParams
protected void verifyAddToCartParams(org.mockito.ArgumentCaptor<AddToCartParams> addToCartParamsCaptor)
-
-