private static GeoLocationRequest getMockGeoLocation() {
        val index = ThreadLocalRandom.current().nextInt(ALL_GEOLOCS.size());
        val location = new GeoLocationRequest();
        val pair = ALL_GEOLOCS.get(index);
        location.setLatitude(pair.getKey());
        location.setLongitude(pair.getValue());
        location.setAccuracy("50");
        location.setTimestamp(String.valueOf(new Date().getTime()));
        return location;
    }
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