Class ActionContextRule

java.lang.Object
com.atlassian.bamboo.testutils.junit.rule.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 Details

    • ActionContextRule

      public ActionContextRule()
  • Method Details

    • 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)