@Test
public void retrievesLocaleFromLanguage() {

    Locale locale = new Locale("en", "us");
    AcceptLanguage acceptLanguage = new AcceptLanguage(new Language(locale));
    assertEquals(locale, acceptLanguage.getLocale());
}