A mock handler that is used to handle events in a unit test
The type of the event to handle
The type of the return value of the event