MokkeryContext

A set of MokkeryContext.Elements. It's used to provide any information/dependency required for Mokkery interceptors. It works in the same way as kotlin.coroutines.CoroutineContext.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun <T> fold(initial: T, operation: (T, MokkeryContext.Element) -> T): T
Link copied to clipboard
abstract operator fun <T : MokkeryContext.Element> get(key: MokkeryContext.Key<T>): T?
Link copied to clipboard
abstract operator fun minus(key: MokkeryContext.Key<*>): MokkeryContext
Link copied to clipboard
open operator fun plus(context: MokkeryContext): MokkeryContext