assert
fun <STATE : Any, SIDE_EFFECT : Any> ContainerHost<STATE, SIDE_EFFECT>.assert(initialState: STATE, timeoutMillis: Long = 5000L, block: OrbitVerification<STATE, SIDE_EFFECT>.() -> Unit = {})
Content copied to clipboard
Perform assertions on your ContainerHost.
Specifying all expected states and posted side effects is obligatory, i.e. you cannot do just a partial assertion. Loopback tests are optional.
Parameters
block
The block containing assertions for your ContainerHost.
Sources
(source)
Link copied to clipboard