public static void createEvent(final int i, final CasEventRepository casEventRepository) throws Throwable {
        createEvent("casuser", i, casEventRepository);
    }
This is {@link MockTicketGrantingTicketCreatedEventProducer}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-electrofence/src/test/java/org/apereo/cas/impl/mock/MockTicketGrantingTicketCreatedEventProducer.java