R - The result typepublic interface TestMethodInterceptor<R>
| Modifier and Type | Method and Description |
|---|---|
default R |
interceptAfterEach(TestMethodInvocationContext<R> methodInvocationContext)
Intercepts after each test invocation.
|
default R |
interceptBeforeEach(TestMethodInvocationContext<R> methodInvocationContext)
Intercepts before each test invocation.
|
default R |
interceptTest(TestMethodInvocationContext<R> methodInvocationContext)
Intercepts each test invocation.
|
default R interceptBeforeEach(TestMethodInvocationContext<R> methodInvocationContext) throws java.lang.Throwable
methodInvocationContext - the method invocation contextjava.lang.Exception - allows any exception to propagatejava.lang.Throwabledefault R interceptTest(TestMethodInvocationContext<R> methodInvocationContext) throws java.lang.Throwable
methodInvocationContext - the method invocation contextjava.lang.Exception - allows any exception to propagatejava.lang.Throwabledefault R interceptAfterEach(TestMethodInvocationContext<R> methodInvocationContext) throws java.lang.Throwable
methodInvocationContext - the method invocation contextjava.lang.Exception - allows any exception to propagatejava.lang.Throwable