whenEvent

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

Return

a Then instance for the remainder of the spec

Parameters

event

the first events