OrbitScopedTestContextBase
abstract class OrbitScopedTestContextBase<INTERNAL_STATE : Any, EXTERNAL_STATE : Any, SIDE_EFFECT : Any, CONTAINER_HOST : OrbitContainerHost<INTERNAL_STATE, EXTERNAL_STATE, SIDE_EFFECT>>(val containerHost: CONTAINER_HOST, emissions: ReceiveTurbine<ItemWithInternalAndExternalState<INTERNAL_STATE, EXTERNAL_STATE, SIDE_EFFECT>>)(source)
Inheritors
Constructors
Link copied to clipboard
constructor(containerHost: CONTAINER_HOST, emissions: ReceiveTurbine<ItemWithInternalAndExternalState<INTERNAL_STATE, EXTERNAL_STATE, SIDE_EFFECT>>)
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
Awaits for a side effect and checks if it matches the expected side effect
Link copied to clipboard
Invoke onCreate lambda for the OrbitContainerHost.