Class DefaultCouponCodeCipherTextGenerationStrategyUnitTest


  • @UnitTest
    public class DefaultCouponCodeCipherTextGenerationStrategyUnitTest
    extends java.lang.Object
    • Constructor Detail

      • DefaultCouponCodeCipherTextGenerationStrategyUnitTest

        public DefaultCouponCodeCipherTextGenerationStrategyUnitTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.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 java.lang.String doTestForGivenLength​(MultiCodeCouponModel coupon,
                                                        java.lang.String clearText,
                                                        int length)
      • testWithDifferentAlphabet

        public void testWithDifferentAlphabet()
      • testWithDifferentSignatures

        public void testWithDifferentSignatures()
      • testWithDifferentClearTexts

        public void testWithDifferentClearTexts()