EmitAsserter

Action emitter used for testing.

Parameters

TModel
TDependency

Properties

Link copied to clipboard
open val scope: CoroutineScope

Functions

Link copied to clipboard
open fun <TChildModel : Any, TChildDependency> addChildEmitter(child: <Error class: unknown class><TChildModel, TChildDependency>)
Link copied to clipboard
fun assertActions(actions: List<<Error class: unknown class><TModel, TDependency>>, message: String? = null)
Link copied to clipboard
fun assertNoActions(message: String? = null)
Link copied to clipboard
open fun emit(action: <Error class: unknown class><TModel, TDependency>)
Link copied to clipboard
infix inline fun <TModel : Any, TDependency> EmitAsserter<TModel, TDependency>.matches(crossinline block: EmitAsserter<TModel, TDependency>.() -> Unit)

Assert emitted actions by the Effect.