clear method

void clear()

Forgets the recorded effects; registered responses are kept.

Implementation

void clear() => _effects.clear();