Class ExecutionContextRule

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

    public final class ExecutionContextRule
    extends org.junit.rules.ExternalResource
    implements ExecutionContext
    Test helper that creates and disposes an ExecutionContext for your test case or suite.

    Can be used with a @Rule field and a static field with @ClassRule.