refactoring createEventSpy
mod readme