Package-level declarations

Functions

Link copied to clipboard

Registers a configuration block that is applied to every mock of type T created by the configured MockFactory.

inline fun <T : Any> SpyFactoryConfigurer.preset(noinline block: MokkerySpyConfigurer.Block<T>)

Registers a configuration block that is applied to every spy of type T created by the configured SpyFactory.

Registers a configuration block that is applied to every mock of given type created by the configured MockFactory. The type must be a class type.

Registers a configuration block that is applied to every spy of given type created by the configured SpyFactory. The type must be a class type.