assert
fun assert(initialState: STATE, timeoutMillis: Long = 1000L, 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
initialState
The initial container state to assert
timeoutMillis
How long the assert call should wait for emissions before timing out
block
The block containing assertions for your ContainerHost
Sources
(source)
Link copied to clipboard