Class BundleUpdateCartEntryHookTest
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.order.hook.BundleUpdateCartEntryHookTest
-
@UnitTest public class BundleUpdateCartEntryHookTest extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionthrown
-
Constructor Summary
Constructors Constructor Description BundleUpdateCartEntryHookTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommerceCartParametercreateParameter()protected BundleUpdateCartEntryHookgetHook()voidsetup()voidshouldFailIfComponentDoesNotExist()voidshouldLimitQuantityAccordingToNSelectionCriteria()voidshouldLimitQuantityAccordingToNtoMSelectionCriteria()voidshouldReValidateTheWholeBundle()voidshouldSkipNonBundleAfter()voidshouldSkipNonBundleBefore()
-
-
-
Method Detail
-
setup
public void setup()
-
shouldSkipNonBundleBefore
public void shouldSkipNonBundleBefore()
-
shouldFailIfComponentDoesNotExist
public void shouldFailIfComponentDoesNotExist()
-
shouldLimitQuantityAccordingToNSelectionCriteria
public void shouldLimitQuantityAccordingToNSelectionCriteria()
-
shouldLimitQuantityAccordingToNtoMSelectionCriteria
public void shouldLimitQuantityAccordingToNtoMSelectionCriteria()
-
shouldSkipNonBundleAfter
public void shouldSkipNonBundleAfter()
-
shouldReValidateTheWholeBundle
public void shouldReValidateTheWholeBundle()
-
createParameter
protected CommerceCartParameter createParameter()
-
getHook
protected BundleUpdateCartEntryHook getHook()
-
-