Open
Description
I'm wondering if we should assign a proper ID to each mock handler. Currently this is just the index in the array of handlers, but that seems fragile. Having proper IDs would still allow clearing individual requests or all handlers, but would eliminate the possibility of the calling code holding onto that index past when it should, then trying to use it and clearing a mock handler that it did not intend to.
Any thoughts @dcneiner or @jcreamer898 (or anyone else)?