Class ProductConfigAddToCartHookImplTest
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.services.impl.ProductConfigAddToCartHookImplTest
-
@UnitTest public class ProductConfigAddToCartHookImplTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProductConfigAddToCartHookImplTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariantProductModelprepareProductParameter()voidsetUp()voidtest_afterAddToCart()voidtest_afterAddToCart_executable()voidtest_afterAddToCartChangeableVariant()voidtest_afterAddToCartModelNotSaved()voidtest_afterAddToCartNotChangeableVariant()voidtest_beforeAddToCart_config_configID()voidtest_beforeAddToCart_config_newEntry()voidtest_beforeAddToCart_config_noConfigID()voidtest_beforeAddToCart_config_noNewEntry()voidtest_beforeAddToCart_noConfig_newEntry()voidtest_beforeAddToCart_noConfig_noNewEntry()voidtestBeforeAddToCartChangeableVariantConfigID()voidtestBeforeAddToCartChangeableVariantNoConfigID()voidtestConfigurationAbstractOrderIntegrationStrategy()voidtestCreateConfigurationForVariantForNotConfiguredCartEntries()voidtestCreateDefaultConfigForNotConfiguredCartEntries()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testConfigurationAbstractOrderIntegrationStrategy
public void testConfigurationAbstractOrderIntegrationStrategy()
-
test_beforeAddToCart_noConfig_noNewEntry
public void test_beforeAddToCart_noConfig_noNewEntry() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_beforeAddToCart_noConfig_newEntry
public void test_beforeAddToCart_noConfig_newEntry() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_beforeAddToCart_config_newEntry
public void test_beforeAddToCart_config_newEntry() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_beforeAddToCart_config_noNewEntry
public void test_beforeAddToCart_config_noNewEntry() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_afterAddToCart_executable
public void test_afterAddToCart_executable() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_beforeAddToCart_config_noConfigID
public void test_beforeAddToCart_config_noConfigID() throws java.lang.Exception- Throws:
java.lang.Exception
-
test_beforeAddToCart_config_configID
public void test_beforeAddToCart_config_configID() throws java.lang.Exception- Throws:
java.lang.Exception
-
testBeforeAddToCartChangeableVariantNoConfigID
public void testBeforeAddToCartChangeableVariantNoConfigID() throws java.lang.Exception- Throws:
java.lang.Exception
-
testBeforeAddToCartChangeableVariantConfigID
public void testBeforeAddToCartChangeableVariantConfigID() throws java.lang.Exception- Throws:
java.lang.Exception
-
prepareProductParameter
public VariantProductModel prepareProductParameter()
-
test_afterAddToCartModelNotSaved
public void test_afterAddToCartModelNotSaved() throws CommerceCartModificationException
-
test_afterAddToCart
public void test_afterAddToCart() throws CommerceCartModificationException
-
test_afterAddToCartChangeableVariant
public void test_afterAddToCartChangeableVariant() throws CommerceCartModificationException
-
test_afterAddToCartNotChangeableVariant
public void test_afterAddToCartNotChangeableVariant() throws CommerceCartModificationException
-
testCreateDefaultConfigForNotConfiguredCartEntries
public void testCreateDefaultConfigForNotConfiguredCartEntries()
-
testCreateConfigurationForVariantForNotConfiguredCartEntries
public void testCreateConfigurationForVariantForNotConfiguredCartEntries()
-
-