// TODO: the event generation should live in the service
 // This is mostly here for testing purposes so we do not really need to dispatch the event to know
 // it was called correctly
 void dispatchEvent(Long eventTypeId, Comment comment, Map<String, Object> parameters) {
   issueEventManager.dispatchRedundantEvent(
       eventTypeId,
       comment.getIssue(),
       comment.getUpdateAuthorUser(),
       comment,
       null,
       null,
       parameters);
 }