private static String getMockUserAgent() {
        val index = ThreadLocalRandom.current().nextInt(ALL_USER_AGENTS.size());
        return ALL_USER_AGENTS.get(index);
    }
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