Class SubscriptionAddToCartMethodHookTest
- java.lang.Object
-
- de.hybris.platform.subscriptionservices.order.hook.SubscriptionAddToCartMethodHookTest
-
@UnitTest public class SubscriptionAddToCartMethodHookTest extends java.lang.Object
JUnit test suite forSubscriptionAddToCartMethodHook
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedExceptionthrown
-
Constructor Summary
Constructors Constructor Description SubscriptionAddToCartMethodHookTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestAfterAddToCart()voidtestAfterAddToCartNoChildCartNoSubscriptionTerm()voidtestBeforeAddToCartIsNotSubscriptionProduct()voidtestBeforeAddToCartIsSubscriptionProduct()voidtestBeforeAddToCartNullParameter()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testBeforeAddToCartNullParameter
public void testBeforeAddToCartNullParameter() throws CommerceCartModificationException
-
testBeforeAddToCartIsNotSubscriptionProduct
public void testBeforeAddToCartIsNotSubscriptionProduct() throws CommerceCartModificationException
-
testBeforeAddToCartIsSubscriptionProduct
public void testBeforeAddToCartIsSubscriptionProduct() throws CommerceCartModificationException
-
testAfterAddToCartNoChildCartNoSubscriptionTerm
public void testAfterAddToCartNoChildCartNoSubscriptionTerm() throws CommerceCartModificationException
-
testAfterAddToCart
public void testAfterAddToCart() throws CommerceCartModificationException
-
-