Class ActionContextRule
java.lang.Object
com.atlassian.bamboo.testutils.junit.rule.ActionContextRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Rule that automates creation/destruction of
ActionContext
for tests-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description) void
putToApplication
(String key, Object value)
-
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 interfaceorg.junit.rules.TestRule
-
putToApplication
-