assertFinished
Suspends until the worker emits an output or finishes.
Throws an AssertionError if an output was emitted or the Worker has an error.
Suspends until the worker emits an output or finishes.
Throws an AssertionError if an output was emitted or the Worker has an error.