reset method

void reset()

Forgets recorded requests and rewinds the script.

Implementation

void reset() {
  _requests.clear();
  _index = 0;
}