@Test
    void verifyLocale() {
        var request = new MockHttpServletRequest();
        request.setPreferredLocales(List.of(Locale.ENGLISH));
        assertEquals(Locale.ENGLISH, localeResolver.resolveLocale(request));

        request = new MockHttpServletRequest();
        request.setPreferredLocales(List.of(Locale.ITALIAN));
        assertEquals(Locale.ITALIAN, localeResolver.resolveLocale(request));
    }
This is {@link WiringConfigurationTests}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-webconfig/src/test/java/org/apereo/cas/config/WiringConfigurationTests.java