As discussed with @simonbasle in the context of #29924, we should add unit tests for CoroutinesUtils which is currently only tested via integration tests, and potentially validate inputs to ensure for example the last parameter is available and of type Continuation.