@UnitTest public class DefaultCommerceUpdateCartEntryStrategyTest extends java.lang.Object
DefaultCommerceUpdateCartEntryStrategy| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
thrown |
| Constructor and Description |
|---|
DefaultCommerceUpdateCartEntryStrategyTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldFailUpdatePosIfCartNotProvided() |
void |
shouldFailUpdatePosIfEntryNotFound() |
void |
shouldFailUpdatePosIfEntryNotUpdatable() |
void |
shouldFailUpdatePosIfPosNotProvided() |
void |
updatePosShouldCheckStock() |
void |
updatePosShouldMergeEntries() |
void |
updatePosShouldSucceedIfNoEntry() |
void |
updateShippingModeShouldMergeEntries() |
public DefaultCommerceUpdateCartEntryStrategyTest()
public void setUp()
public void shouldFailUpdatePosIfCartNotProvided()
throws CommerceCartModificationException
public void shouldFailUpdatePosIfPosNotProvided()
throws CommerceCartModificationException
public void shouldFailUpdatePosIfEntryNotFound()
throws CommerceCartModificationException
public void shouldFailUpdatePosIfEntryNotUpdatable()
throws CommerceCartModificationException
public void updatePosShouldMergeEntries()
throws CommerceCartModificationException
public void updatePosShouldSucceedIfNoEntry()
throws CommerceCartModificationException
public void updatePosShouldCheckStock()
throws CommerceCartModificationException
public void updateShippingModeShouldMergeEntries()
throws CommerceCartModificationException
Copyright © 2018 SAP SE. All Rights Reserved.