Class FakeFrameworkMethod

java.lang.Object
mockit.MockUp<org.junit.runners.model.FrameworkMethod>
mockit.integration.junit4.FakeFrameworkMethod

public final class FakeFrameworkMethod extends MockUp<org.junit.runners.model.FrameworkMethod>
Startup fake that modifies the JUnit 4.5+ test runner so that it calls back to JMockit immediately after every test executes. When that happens, JMockit will assert any expectations recorded during the test in Expectations subclasses.

This class is not supposed to be accessed from user code. JMockit will automatically load it at startup.

  • Constructor Details

    • FakeFrameworkMethod

      public FakeFrameworkMethod()
  • Method Details