Improved a comment on the createSpyForPluginEvent function