public void testLang() throws Exception {
Abdera abdera = new Abdera();
Entry entry = abdera.newEntry();
entry.setLanguage("en-US");
assertEquals(entry.getLanguage(),"en-US");
Lang lang = entry.getLanguageTag();
assertNotNull(lang);
assertEquals(lang.getLanguage().getName(),"en");
assertEquals(lang.getRegion().getName(), "US");
assertEquals(lang.getLocale(), java.util.Locale.US);
}