Class BundleRemoveEntryGroupMethodHookTest
java.lang.Object
de.hybris.platform.configurablebundleservices.order.hook.BundleRemoveEntryGroupMethodHookTest
Unit tests for
BundleRemoveEntryGroupMethodHook-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
thrown
public org.junit.rules.ExpectedException thrown
-
-
Constructor Details
-
BundleRemoveEntryGroupMethodHookTest
public BundleRemoveEntryGroupMethodHookTest()
-
-
Method Details
-
setUp
public void setUp() -
testBeforeRemoveEntryGroupNoParameter
-
testBeforeRemoveEntryGroupNoEntryGroupNumber
-
testBeforeRemoveEntryGroupNoCart
-
testBeforeRemoveEntryGroupNoSuchGroupInCart
-
testBeforeRemoveEntryGroupBundleRootGroup
-
testBeforeRemoveEntryGroupBundleIntermediateGroup
public void testBeforeRemoveEntryGroupBundleIntermediateGroup() throws CommerceCartModificationException -
testBeforeRemoveEntryGroupBundleLeafGroup
-
testBeforeRemoveEntryGroupNonBundleRootGroup
-
testBeforeRemoveEntryGroupNonBundleIntermediateGroup
public void testBeforeRemoveEntryGroupNonBundleIntermediateGroup() throws CommerceCartModificationException -
testBeforeRemoveEntryGroupNonBundleLeafGroup
-
shouldReturnIfNoEntryGroupsInCart
-
shouldDoNothingAfterRemoveEntryGroup
-