private CasLocaleChangeInterceptor getInterceptor(final boolean force) {
        val props = new CasConfigurationProperties();
        props.getLocale().setDefaultValue("fr").setForceDefaultLocale(force);
        return new CasLocaleChangeInterceptor(new DirectObjectProvider<>(props),
            new DirectObjectProvider<>(argumentExtractor), new DirectObjectProvider<>(servicesManager));
    }
This is {@link CasLocaleChangeInterceptorTests}.

@author Misagh Moayyed
@since 6.4.0
core/cas-server-core-web/src/test/java/org/apereo/cas/web/support/CasLocaleChangeInterceptorTests.java