Regular Test Container Host
class RegularTestContainerHost<STATE : Any, SIDE_EFFECT : Any, CONTAINER_HOST : ContainerHost<STATE, SIDE_EFFECT>>(actual: CONTAINER_HOST, initialState: STATE) : TestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>
Content copied to clipboard
Functions
Link copied to clipboard
fun assert(initialState: STATE, timeoutMillis: Long = 1000, block: OrbitVerification<STATE, SIDE_EFFECT>.() -> Unit = {})
Content copied to clipboard
Perform assertions on your ContainerHost.
Link copied to clipboard
fun runOnCreate(): RegularTestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>
Content copied to clipboard
Invoke onCreate property for the ContainerHost backed by LazyCreateContainerDecorator, e.g.: created by CoroutineScope.container
Link copied to clipboard
fun testIntent(action: CONTAINER_HOST.() -> Unit): RegularTestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>
Content copied to clipboard
Invoke an intent on the ContainerHost under test.