junitExtension

fun Mockspresso.junitExtension(): MockspressoJUnit5Extension

Create a junit extension to handle mockspresso lifecycle callbacks. Register the extension using the org.junit.jupiter.api.extension.RegisterExtension annotation in junit5 tests.