reset method

void reset()

Clear all recorded commands and stubbed responses.

Implementation

void reset() {
  sentCommands.clear();
  stubbedResponses.clear();
  _commandListeners.clear();
  _windowCreateHandler = null;
}