@UnitTest public class DefaultCommerceAddToCartStrategyTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
thrown |
| Constructor and Description |
|---|
DefaultCommerceAddToCartStrategyTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
batchAddingShouldAlsoMerge() |
void |
setup() |
void |
shouldFailIfRequestedMergeTargetDoesNotExist() |
void |
shouldMergeEntries() |
void |
shouldNotMergeIsNewEntryIsForced() |
void |
shouldSkipMergeIfQuantityIsNull() |
void |
shouldSkipMergeIfQuantityIsZero() |
void |
shouldSkipMergeIfThereIsNoEntry() |
public DefaultCommerceAddToCartStrategyTest()
public void setup()
public void shouldSkipMergeIfThereIsNoEntry()
throws CommerceCartModificationException
public void shouldSkipMergeIfQuantityIsZero()
throws CommerceCartModificationException
public void shouldSkipMergeIfQuantityIsNull()
throws CommerceCartModificationException
public void shouldFailIfRequestedMergeTargetDoesNotExist()
throws CommerceCartModificationException
public void shouldNotMergeIsNewEntryIsForced()
throws CommerceCartModificationException
public void shouldMergeEntries()
throws CommerceCartModificationException
public void batchAddingShouldAlsoMerge()
throws CommerceCartMergingException
CommerceCartMergingExceptionCopyright © 2018 SAP SE. All Rights Reserved.