@Test
    void verifyBadGeoLocation() {
        val request = new MockHttpServletRequest();
        request.setParameter("geolocation", "34,45,1,12345");
        assertNotNull(HttpRequestUtils.getHttpServletRequestGeoLocation(request));

        request.setParameter("geolocation", "34,4");
        assertNotNull(HttpRequestUtils.getHttpServletRequestGeoLocation(request));

        request.setParameter("geolocation", "34,4,,1");
        assertNotNull(HttpRequestUtils.getHttpServletRequestGeoLocation(request));
    }
This is {@link HttpRequestUtilsTests}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/HttpRequestUtilsTests.java