@Test
public void testGetAcceptableLanguages() throws Exception {

    List<Locale> locales = httpHeaders1.getAcceptableLanguages();
    assertEquals(locales.size(), 3);
    assertEquals(locales.get(0).getLanguage(), "da");
    assertEquals(locales.get(1).getLanguage(), "en-gb");
    assertEquals(locales.get(2).getLanguage(), "en");
    locales = httpHeaders2.getAcceptableLanguages();
    assertEquals(locales.size(), 1);
    assertEquals(locales.get(0).getLanguage(), "*");
}