Class AbstractCouponValidateInterceptorUnitTest
- java.lang.Object
-
- de.hybris.platform.couponservices.interceptor.AbstractCouponValidateInterceptorUnitTest
-
@UnitTest public class AbstractCouponValidateInterceptorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractCouponValidateInterceptorUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestOnValidateEndDateIsNull()voidtestOnValidateFalse()voidtestOnValidateFalseWhenEndDateInThePast()voidtestOnValidateFalseWhenEndDateLessThenStartDate()voidtestOnValidateModelIsNull()voidtestOnValidateStartDateIsNull()voidtestOnValidateTrue()
-
-
-
Method Detail
-
setUp
public void setUp()
-
testOnValidateModelIsNull
public void testOnValidateModelIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateStartDateIsNull
public void testOnValidateStartDateIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateEndDateIsNull
public void testOnValidateEndDateIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateTrue
public void testOnValidateTrue() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateFalse
public void testOnValidateFalse() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateFalseWhenEndDateInThePast
public void testOnValidateFalseWhenEndDateInThePast() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateFalseWhenEndDateLessThenStartDate
public void testOnValidateFalseWhenEndDateLessThenStartDate() throws InterceptorException- Throws:
InterceptorException
-
-