@Test
public void resolveLocaleContextWithWellFormattedLocaleIsTaken() throws Exception {

    DataprepLocaleContextResolver resolver = new DataprepLocaleContextResolver(TEST_LOCALE);
    Locale locale = resolver.resolveLocale(request);
    assertNotNull(locale);
    assertEquals(TEST_LOCALE, locale.toLanguageTag());
}