onTeardown

abstract fun onTeardown(cmd: () -> Unit)

Add a callback that will fire when/if the MockspressoInstance is eventually torn down. (Automatic tear-down is not supported by default but can be configured using plugins).