Interface StubLifecycle
-
public interface StubLifecycleHelper interface for lifecycle-aware stubs implementation. Works with junit 5StubBeanextension and rawStubsHook. For stubs, implementing this interface, before and after methods would be called before and after each test (to perform some cleanups or reset state).- Since:
- 07.02.2025
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidafter()Called after each test method.default voidbefore()Called before each test method.
-