Class FakeFrameworkMethod
java.lang.Object
mockit.MockUp<org.junit.runners.model.FrameworkMethod>
mockit.integration.junit4.FakeFrameworkMethod
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.
-
Field Summary
Fields inherited from class MockUp
targetType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvokeExplosively(Invocation invocation, Object target, Object... params) static voidvalidatePublicVoidNoArg(Invocation invocation, boolean isStatic, List<Throwable> errors) Methods inherited from class MockUp
getMockInstance, onTearDown
-
Constructor Details
-
FakeFrameworkMethod
public FakeFrameworkMethod()
-
-
Method Details
-
invokeExplosively
-
validatePublicVoidNoArg
public static void validatePublicVoidNoArg(@NonNull Invocation invocation, boolean isStatic, List<Throwable> errors)
-