@Override
            protected GeocodingResult[] reverseGeocode(final LatLng latlng) {
                var result = mock(GeocodingResult.class);
                when(result.formattedAddress).thenReturn("address1");
                return new GeocodingResult[]{result};
            }
This is {@link GoogleMapsGeoLocationServiceTests}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-geolocation-googlemaps/src/test/java/org/apereo/cas/support/geo/google/GoogleMapsGeoLocationServiceTests.java