Class TemplateEngineFreemarkerI18nMethodTest


  • public class TemplateEngineFreemarkerI18nMethodTest
    extends Object
    Author:
    ra
    • Field Detail

      • thrown

        public final org.junit.rules.ExpectedException thrown
    • Constructor Detail

      • TemplateEngineFreemarkerI18nMethodTest

        public TemplateEngineFreemarkerI18nMethodTest()
    • Method Detail

      • before

        public final void before()
      • testThatNoKeyYieldsException

        public void testThatNoKeyYieldsException()
                                          throws Exception
        Throws:
        Exception
      • testThatSingleKeyWithValueWorks

        public void testThatSingleKeyWithValueWorks()
                                             throws Exception
        Throws:
        Exception
      • testThatSingleKeyWithMissingValueReturnsDefaultKey

        public void testThatSingleKeyWithMissingValueReturnsDefaultKey()
                                                                throws Exception
        Throws:
        Exception
      • testThatKeyWithPlaceholderWorks

        public void testThatKeyWithPlaceholderWorks()
                                             throws Exception
        Throws:
        Exception
      • testThatKeyWithPlaceholderReturnsDefaultKeyWhenKeyCannotBeFound

        public void testThatKeyWithPlaceholderReturnsDefaultKeyWhenKeyCannotBeFound()
                                                                             throws Exception
        Throws:
        Exception
      • testThatConstraintViolationWorks

        public void testThatConstraintViolationWorks()
                                              throws Exception
        Throws:
        Exception
      • testThatConstraintViolationWorksWithDefault

        public void testThatConstraintViolationWorksWithDefault()
                                                         throws Exception
        Throws:
        Exception