@UnitTest public class DefaultCartFacadeTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultCartFacadeTest() |
public void setUp()
public void testGetSessionCart()
public void testGetSessionCartNull()
public void testHasSessionCartFalse()
public void testHasSessionCartTrue()
public void testGetMiniCart()
public void testGetMiniCartEmpty()
public void testAddToCart()
throws CommerceCartModificationException
public void addToCartShouldPassPointOfService()
throws CommerceCartModificationException
public void testUpdateCartEntry()
throws CommerceCartModificationException
public void updateCartEntryShouldPassPOS()
throws CommerceCartModificationException
public void testGetDeliveryCountries()
public void testGetMostRecentCartForUser()
public void testUpdateOrderEntryForNonMultiD()
throws CommerceCartModificationException
public void testUpdateOrderEntryForMultiDUpdate()
throws CommerceCartModificationException
public void testUpdateOrderEntryMultiDAdd()
throws CommerceCartModificationException
protected OrderEntryData getOrderEntryData(int entryNumber, long qty, java.lang.String productCode)
public void testConfigureCartEntry()
throws CommerceCartModificationException
public void testConfigureCartEntryMultipleConfigurators()
throws CommerceCartModificationException
public void testMergeProductConfigurations()
throws CommerceCartModificationException
public void testMergeWithEmptyOrderEntryConfiguration()
throws CommerceCartModificationException
public void testUpdateCartEntryWithEmptyConfiguration()
throws CommerceCartModificationException
public void testUpdateCartMetadataNullMetadata()
public void testUpdateCartMetadata()
public void testRestoreSavedCartEmpty()
throws java.lang.Exception
java.lang.Exceptionpublic void testRestoreSavedCartWithEntries()
throws java.lang.Exception
java.lang.Exceptionpublic void testRestoreSavedCartWithEntryGroups()
throws java.lang.Exception
java.lang.Exceptionprotected void setUpServiceMocks(CartData cartData)
protected ProductModel setUpProductModel()
protected void verifyAddToCartParams(<any> addToCartParamsCaptor)
Copyright © 2018 SAP SE. All Rights Reserved.