Class BundleRemoveEntryGroupMethodHookTest
- java.lang.Object
-
- de.hybris.platform.configurablebundleservices.order.hook.BundleRemoveEntryGroupMethodHookTest
-
@UnitTest public class BundleRemoveEntryGroupMethodHookTest extends java.lang.Object
Unit tests forBundleRemoveEntryGroupMethodHook
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionthrown
-
Constructor Summary
Constructors Constructor Description BundleRemoveEntryGroupMethodHookTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidshouldDoNothingAfterRemoveEntryGroup()voidshouldReturnIfNoEntryGroupsInCart()voidtestBeforeRemoveEntryGroupBundleIntermediateGroup()voidtestBeforeRemoveEntryGroupBundleLeafGroup()voidtestBeforeRemoveEntryGroupBundleRootGroup()voidtestBeforeRemoveEntryGroupNoCart()voidtestBeforeRemoveEntryGroupNoEntryGroupNumber()voidtestBeforeRemoveEntryGroupNonBundleIntermediateGroup()voidtestBeforeRemoveEntryGroupNonBundleLeafGroup()voidtestBeforeRemoveEntryGroupNonBundleRootGroup()voidtestBeforeRemoveEntryGroupNoParameter()voidtestBeforeRemoveEntryGroupNoSuchGroupInCart()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testBeforeRemoveEntryGroupNoParameter
public void testBeforeRemoveEntryGroupNoParameter() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupNoEntryGroupNumber
public void testBeforeRemoveEntryGroupNoEntryGroupNumber() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupNoCart
public void testBeforeRemoveEntryGroupNoCart() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupNoSuchGroupInCart
public void testBeforeRemoveEntryGroupNoSuchGroupInCart() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupBundleRootGroup
public void testBeforeRemoveEntryGroupBundleRootGroup() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupBundleIntermediateGroup
public void testBeforeRemoveEntryGroupBundleIntermediateGroup() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupBundleLeafGroup
public void testBeforeRemoveEntryGroupBundleLeafGroup() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupNonBundleRootGroup
public void testBeforeRemoveEntryGroupNonBundleRootGroup() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupNonBundleIntermediateGroup
public void testBeforeRemoveEntryGroupNonBundleIntermediateGroup() throws CommerceCartModificationException
-
testBeforeRemoveEntryGroupNonBundleLeafGroup
public void testBeforeRemoveEntryGroupNonBundleLeafGroup() throws CommerceCartModificationException
-
shouldReturnIfNoEntryGroupsInCart
public void shouldReturnIfNoEntryGroupsInCart() throws CommerceCartModificationException
-
shouldDoNothingAfterRemoveEntryGroup
public void shouldDoNothingAfterRemoveEntryGroup() throws CommerceCartModificationException
-
-