Class DefaultCouponCodeCipherTextGenerationStrategyUnitTest

java.lang.Object
de.hybris.platform.couponservices.couponcodegeneration.impl.DefaultCouponCodeCipherTextGenerationStrategyUnitTest

@UnitTest public class DefaultCouponCodeCipherTextGenerationStrategyUnitTest extends Object
  • Constructor Details

    • DefaultCouponCodeCipherTextGenerationStrategyUnitTest

      public DefaultCouponCodeCipherTextGenerationStrategyUnitTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      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

      protected String doTestForGivenLength(MultiCodeCouponModel coupon, String clearText, int length)
    • testWithDifferentAlphabet

      public void testWithDifferentAlphabet()
    • testWithDifferentSignatures

      public void testWithDifferentSignatures()
    • testWithDifferentClearTexts

      public void testWithDifferentClearTexts()