Class BundleAddToCartMethodHookTest
java.lang.Object
de.hybris.platform.configurablebundleservices.order.hook.BundleAddToCartMethodHookTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BundleCartHookHelperprotected BundleCartValidatorprotected BundleRuleServiceprotected BundleTemplateServiceprotected CartServiceprotected EntryGroupServiceprotected BundleAddToCartMethodHookprotected L10NServiceprotected ModelServiceorg.junit.rules.ExpectedException -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
editableChecker
-
l10NService
-
modelService
-
cartService
-
bundleTemplateService
-
bundleRuleService
-
entryGroupService
-
bundleCartValidator
-
bundleCartHookHelper
-
bundleComponentEditableChecker
-
hook
-
thrown
public org.junit.rules.ExpectedException thrown
-
-
Constructor Details
-
BundleAddToCartMethodHookTest
public BundleAddToCartMethodHookTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
public void tearDown() -
shouldSkipNotBundledCalls
-
shouldDenyAddingOfNonIndividualProducts
-
shouldCheckTheComponentExists
-
shouldCheckTheComponentBelongToTheRightTemplate
public void shouldCheckTheComponentBelongToTheRightTemplate() throws CommerceCartModificationException -
shouldAssignBundleTemplate
-
shouldNotCheckRequiredComponentNullEntryGroup
public void shouldNotCheckRequiredComponentNullEntryGroup() throws CommerceCartModificationException -
shouldNotAllowInvalidComponentNullEntryGroup
-
shouldNotAllowInvalidRequiredComponents
-
shouldCheckThatTheProductIsAllowed
-
shouldCreateBundleTreeInCart
-
shouldUpdateLeafComponentsErroneousStatus
- Throws:
Exception
-
shouldDenyAddingAutoPickProducts
-