Constructors

Link copied to clipboard
constructor(containerHost: CONTAINER_HOST, emissions: ReceiveTurbine<ItemWithInternalAndExternalState<INTERNAL_STATE, EXTERNAL_STATE, SIDE_EFFECT>>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Return the next side effect received. This function will suspend if no side effects have been received.

Link copied to clipboard

Finish this test and ignore any events which have already been received. This also cancels any in-progress intents.

Link copied to clipboard

Assert there are no unconsumed items

Link copied to clipboard
suspend fun expectSideEffect(expected: SIDE_EFFECT)

Awaits for a side effect and checks if it matches the expected side effect

Link copied to clipboard
fun runOnCreate(): Job

Invoke onCreate lambda for the OrbitContainerHost.

Link copied to clipboard
suspend fun skipItems(count: Int)

Assert that count items were received and ignore them. This function will suspend if no items have been received.