reset method

void reset()

Forgets the prepared answers and the recorded requests, for example between two tests that share the mock.

Implementation

void reset() {
  _expectations.clear();
  _requests.clear();
}