@UnitTest public class SingleCodeCouponValidateInterceptorUnitTest extends java.lang.Object
| Constructor and Description |
|---|
SingleCodeCouponValidateInterceptorUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testOnValidateBothMaxRedemptionsAreNull() |
void |
testOnValidateFalse() |
void |
testOnValidateFalseWhenActiveAndCouponIdModified() |
void |
testOnValidateMaxRedemptionsPerCustomerIsNull() |
void |
testOnValidateMaxTotalRedemptionsIsNull() |
void |
testOnValidateModelIsNull() |
void |
testOnValidateTrue() |
void |
testOnValidateTrueWhenNonActiveAndCouponIdModified() |
void |
testOnValidateWrongMaxRedemptionsPerCustomer() |
public SingleCodeCouponValidateInterceptorUnitTest()
public void setUp()
public void testOnValidateModelIsNull()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateMaxRedemptionsPerCustomerIsNull()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateMaxTotalRedemptionsIsNull()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateBothMaxRedemptionsAreNull()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateWrongMaxRedemptionsPerCustomer()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateTrue()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateFalse()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateFalseWhenActiveAndCouponIdModified()
throws InterceptorException
InterceptorExceptionpublic void testOnValidateTrueWhenNonActiveAndCouponIdModified()
throws InterceptorException
InterceptorExceptionCopyright © 2018 SAP SE. All Rights Reserved.