check method

  1. @override
void check()
override

Performs additional checks at the end of the simulation.

This is a good place to search for any incomplete flows or compare final states with expected states.

Implementation

@override
void check() {
  if (pendingSeqItems.isNotEmpty && enableEndOfTestEmptyCheck) {
    logger.severe('At end of test, there were still pending items to send.');

    for (final seqItem in pendingSeqItems) {
      logger.finer('Pending item: $seqItem');
    }
  }
}