postTest method Null safety
override
Called by the testWidgets function after a test is executed.
Implementation
@override
void postTest() {
super.postTest();
assert(!_expectingFrame);
assert(_pendingFrame == null);
_inTest = false;
}