Class TestTLCRule

java.lang.Object
dev.enola.common.context.testlib.TestTLCRule
All Implemented Interfaces:
org.junit.rules.TestRule
Direct Known Subclasses:
TestContextRule

public class TestTLCRule extends Object implements org.junit.rules.TestRule
  • Constructor Details

  • Method Details

    • of

      public static <T> TestTLCRule of(Class<T> klass, T instance)
    • of

      public static <T> TestTLCRule of(Context.Key<T> klass, T instance)
    • apply

      public final 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
    • before

      protected void before()
    • after

      protected void after()