@Test
    void verifyWebServices() throws Throwable {
        var service = new MaxmindDatabaseGeoLocationService(new MaxmindProperties()
            .setAccountId(123456).setLicenseKey("abcdefghi"));
        assertNull(service.locate("5.194.132.155"));
        val client = mock(WebServiceClient.class);
        when(client.city(any())).thenReturn(getCityResponse());
        when(client.country(any())).thenReturn(getCountryResponse());
        service = service.withWebServiceClient(client);
        assertNotNull(service.locate("5.194.132.155"));
    }
This is {@link MaxmindDatabaseGeoLocationServiceTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-geolocation-maxmind/src/test/java/org/apereo/cas/support/geo/maxmind/MaxmindDatabaseGeoLocationServiceTests.java