Class MultiCodeCouponValidateInterceptorUnitTest
- java.lang.Object
-
- de.hybris.platform.couponservices.interceptor.MultiCodeCouponValidateInterceptorUnitTest
-
@UnitTest public class MultiCodeCouponValidateInterceptorUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MultiCodeCouponValidateInterceptorUnitTest()
-
Method Summary
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testOnValidateModelIsNull
public void testOnValidateModelIsNull() throws InterceptorException- Throws:
InterceptorException
-
testOnValidateGeneratedCodeIsNull
public void testOnValidateGeneratedCodeIsNull() throws InterceptorException- 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
public void testOnValidateTrue() throws InterceptorException- Throws:
InterceptorException
-
testValidateSeedNumberWasNull
public void testValidateSeedNumberWasNull() throws InterceptorException- Throws:
InterceptorException
-
testValidateSeedNumberIsEqual
public void testValidateSeedNumberIsEqual() throws InterceptorException- Throws:
InterceptorException
-
testValidateSeedNumberIsIncreased
public void testValidateSeedNumberIsIncreased() throws InterceptorException- Throws:
InterceptorException
-
testValidateSeedNumberIsDecreased
public void testValidateSeedNumberIsDecreased() throws InterceptorException- Throws:
InterceptorException
-
testValidateSeedNumberWriteNull
public void testValidateSeedNumberWriteNull() throws InterceptorException- Throws:
InterceptorException
-
-