@Bean
        public GeoLocationService geoLocationService() {
            val mock = mock(GeoLocationService.class);
            when(mock.locate(anyString())).thenReturn(new GeoLocationResponse()
                .setLatitude(156)
                .setLongitude(34)
                .addAddress("London, UK"));
            return mock;
        }
This is {@link GroovyAuditTrailManagerTests}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-audit/src/test/java/org/apereo/cas/audit/spi/GroovyAuditTrailManagerTests.java