asyncBarrier method
This is called during test execution before and after the body has been executed.
It's used by AutomatedTestWidgetsFlutterBinding to drain the microtasks before the final pump that happens during test cleanup.
Implementation
void asyncBarrier() {
TestAsyncUtils.verifyAllScopesClosed();
}