whenEvent

open override fun whenEvent(event: Any, state: Any?, ownerId: String, block: ExpectDsl<T>.() -> Unit)