Class DefaultCouponCodeCipherTextGenerationStrategyUnitTest
java.lang.Object
de.hybris.platform.couponservices.couponcodegeneration.impl.DefaultCouponCodeCipherTextGenerationStrategyUnitTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoTestForGivenLength(MultiCodeCouponModel coupon, String clearText, int length) voidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCouponCodeCipherTextGenerationStrategyUnitTest
public DefaultCouponCodeCipherTextGenerationStrategyUnitTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testWrongInputLengths
public void testWrongInputLengths() -
testCodeForLength2
public void testCodeForLength2() -
testCodeForLength4
public void testCodeForLength4() -
testCodeForLength6
public void testCodeForLength6() -
testCodeForLength8
public void testCodeForLength8() -
testCodeForLength12
public void testCodeForLength12() -
testCodeForLength16
public void testCodeForLength16() -
testCodeForLength20
public void testCodeForLength20() -
testCodeForLength24
public void testCodeForLength24() -
testCodeForLength28
public void testCodeForLength28() -
testCodeForLength32
public void testCodeForLength32() -
doTestForGivenLength
-
testWithDifferentAlphabet
public void testWithDifferentAlphabet() -
testWithDifferentSignatures
public void testWithDifferentSignatures() -
testWithDifferentClearTexts
public void testWithDifferentClearTexts()
-