Interface SystemStubTestRule

All Superinterfaces:
Executable, TestResource, org.junit.rules.TestRule
All Known Implementing Classes:
EnvironmentVariablesRule, SecurityManagerRule, SystemErrAndOutRule, SystemErrRule, SystemExitRule, SystemInRule, SystemOutRule, SystemPropertiesRule

public interface SystemStubTestRule extends org.junit.rules.TestRule, TestResource
Common implementation to convert the TestRule interface into utilisation of the TestResource interface.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.junit.runners.model.Statement
    apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description)
     

    Methods inherited from interface uk.org.webcompere.systemstubs.resource.Executable

    execute

    Methods 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:
      apply in interface org.junit.rules.TestRule