Interface SystemStubTestRule
- All Superinterfaces:
Executable,TestResource,org.junit.rules.TestRule
- All Known Implementing Classes:
EnvironmentVariablesRule,SecurityManagerRule,SystemErrAndOutRule,SystemErrRule,SystemExitRule,SystemInRule,SystemOutRule,SystemPropertiesRule
Common implementation to convert the
TestRule interface into utilisation
of the TestResource interface.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.junit.runners.model.Statementapply(org.junit.runners.model.Statement statement, org.junit.runner.Description description) Methods inherited from interface uk.org.webcompere.systemstubs.resource.Executable
executeMethods inherited from interface uk.org.webcompere.systemstubs.resource.TestResource
execute, setup, teardown
-
Method Details
-
apply
default org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-