@Test
    public void testLanguageCountry() {
        val locale = (Locale) this.converter.convert(Locale.FRANCE.toString());
        assertEquals(Locale.FRANCE.getLanguage(), locale.getLanguage());
        assertEquals(Locale.FRANCE.getCountry(), locale.getCountry());
    }
This class tests the {@link LocaleConverter} class.

@author Jerome Leleu
@since 1.0.0
pac4j-core/src/test/java/org/pac4j/core/profile/converter/LocaleConverterTests.java