When

inner class When

Functions

Link copied to clipboard
fun when(event: E, vararg events: E): UpdateSpec.Then<M, F>

Defines the event(s) that should be executed when the test is run. Events are executed in the order supplied.

Link copied to clipboard
fun whenEvent(event: E): UpdateSpec.Then<M, F>

Defines the event that should be executed when the test is run. Events are executed in the order supplied. This method is just an alias to .when for use with Kotlin

Link copied to clipboard
fun whenEvents(event: E, vararg events: E): UpdateSpec.Then<M, F>

Defines the event(s) that should be executed when the test is run. Events are executed in the order supplied. This method is just an alias to when for use with Kotlin