TestInstancePostProcessor
defines the API for Extensions
that wish to post process test instances.
Common use cases include injecting dependencies into the test instance, invoking custom initialization methods on the test instance, etc.
For a concrete example, consult the source code for the MockitoExtension
and the SpringExtension
.