Class ActionContextRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class ActionContextRule
    extends Object
    implements org.junit.rules.TestRule
    Rule that automates creation/destruction of ActionContext for tests
    • Constructor Detail

      • ActionContextRule

        public ActionContextRule()
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule
      • putToApplication

        public void putToApplication​(String key,
                                     Object value)