@UnitTest public class DefaultCouponCodeCipherTextGenerationStrategyUnitTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultCouponCodeCipherTextGenerationStrategyUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
doTestForGivenLength(MultiCodeCouponModel coupon,
java.lang.String clearText,
int length) |
void |
setUp() |
void |
testCodeForLength12() |
void |
testCodeForLength16() |
void |
testCodeForLength2() |
void |
testCodeForLength20() |
void |
testCodeForLength24() |
void |
testCodeForLength28() |
void |
testCodeForLength32() |
void |
testCodeForLength4() |
void |
testCodeForLength6() |
void |
testCodeForLength8() |
void |
testWithDifferentAlphabet() |
void |
testWithDifferentClearTexts() |
void |
testWithDifferentSignatures() |
void |
testWrongInputLengths() |
public DefaultCouponCodeCipherTextGenerationStrategyUnitTest()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testWrongInputLengths()
public void testCodeForLength2()
public void testCodeForLength4()
public void testCodeForLength6()
public void testCodeForLength8()
public void testCodeForLength12()
public void testCodeForLength16()
public void testCodeForLength20()
public void testCodeForLength24()
public void testCodeForLength28()
public void testCodeForLength32()
protected java.lang.String doTestForGivenLength(MultiCodeCouponModel coupon, java.lang.String clearText, int length)
public void testWithDifferentAlphabet()
public void testWithDifferentSignatures()
public void testWithDifferentClearTexts()
Copyright © 2018 SAP SE. All Rights Reserved.