Class MultiCodeCouponValidateInterceptorUnitTest
java.lang.Object
de.hybris.platform.couponservices.interceptor.MultiCodeCouponValidateInterceptorUnitTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
MultiCodeCouponValidateInterceptorUnitTest
public MultiCodeCouponValidateInterceptorUnitTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testOnValidateModelIsNull
- Throws:
InterceptorException
-
testOnValidateGeneratedCodeIsNull
- Throws:
InterceptorException
-
testOnValidateActiveGeneratedCodesEmptyAndCouponIdIsModified
public void testOnValidateActiveGeneratedCodesEmptyAndCouponIdIsModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesPresentAndCouponIdIsModified
public void testOnValidateNonActiveGeneratedCodesPresentAndCouponIdIsModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesEmptyAndCouponIdIsModified
public void testOnValidateNonActiveGeneratedCodesEmptyAndCouponIdIsModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateActiveGeneratedCodesEmptyAndCodeGenerationConfigModified
public void testOnValidateActiveGeneratedCodesEmptyAndCodeGenerationConfigModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesPresentAndCodeGenerationConfigModified
public void testOnValidateNonActiveGeneratedCodesPresentAndCodeGenerationConfigModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesEmptyAndCodeGenerationConfigModified
public void testOnValidateNonActiveGeneratedCodesEmptyAndCodeGenerationConfigModified() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateActiveGeneratedCodesEmptyAndCodeGeneratCodesModifiedEmptyCodes
public void testOnValidateActiveGeneratedCodesEmptyAndCodeGeneratCodesModifiedEmptyCodes() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateActiveGeneratedCodesEmptyAndCodeGeneratCodesModifiedNonEmptyOriginalCodes
public void testOnValidateActiveGeneratedCodesEmptyAndCodeGeneratCodesModifiedNonEmptyOriginalCodes() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesEmptyAndCodeGeneratCodesModifiedNonEmptyOriginalCodes
public void testOnValidateNonActiveGeneratedCodesEmptyAndCodeGeneratCodesModifiedNonEmptyOriginalCodes() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesPresentAndCodeGeneratedCodesModifiedNonEmptyGenerated
public void testOnValidateNonActiveGeneratedCodesPresentAndCodeGeneratedCodesModifiedNonEmptyGenerated() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateNonActiveGeneratedCodesEmptyAndCodeGeneratedCodesModifiedConsistentCodeCollections
public void testOnValidateNonActiveGeneratedCodesEmptyAndCodeGeneratedCodesModifiedConsistentCodeCollections() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateTrue
- Throws:
InterceptorException
-
testValidateSeedNumberWasNull
- Throws:
InterceptorException
-
testValidateSeedNumberIsEqual
- Throws:
InterceptorException
-
testValidateSeedNumberIsIncreased
- Throws:
InterceptorException
-
testValidateSeedNumberIsDecreased
- Throws:
InterceptorException
-
testValidateSeedNumberWriteNull
- Throws:
InterceptorException
-