Class SingleCodeCouponValidateInterceptorUnitTest
- java.lang.Object
-
- de.hybris.platform.couponservices.interceptor.SingleCodeCouponValidateInterceptorUnitTest
-
@UnitTest public class SingleCodeCouponValidateInterceptorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SingleCodeCouponValidateInterceptorUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestOnValidateBothMaxRedemptionsAreNull()voidtestOnValidateFalse()voidtestOnValidateFalseWhenActiveAndCouponIdModified()voidtestOnValidateMaxRedemptionsPerCustomerIsNull()voidtestOnValidateMaxTotalRedemptionsIsNull()voidtestOnValidateModelIsNull()voidtestOnValidateTrue()voidtestOnValidateTrueWhenNonActiveAndCouponIdModified()voidtestOnValidateWrongMaxRedemptionsPerCustomer()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testOnValidateModelIsNull
public void testOnValidateModelIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateMaxRedemptionsPerCustomerIsNull
public void testOnValidateMaxRedemptionsPerCustomerIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateMaxTotalRedemptionsIsNull
public void testOnValidateMaxTotalRedemptionsIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateBothMaxRedemptionsAreNull
public void testOnValidateBothMaxRedemptionsAreNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateWrongMaxRedemptionsPerCustomer
public void testOnValidateWrongMaxRedemptionsPerCustomer() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateTrue
public void testOnValidateTrue() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateFalse
public void testOnValidateFalse() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateFalseWhenActiveAndCouponIdModified
public void testOnValidateFalseWhenActiveAndCouponIdModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateTrueWhenNonActiveAndCouponIdModified
public void testOnValidateTrueWhenNonActiveAndCouponIdModified() throws InterceptorException- Throws:
InterceptorException
-
-