LocalizableObject implements Localizable { public Set<Language> languages() { return languages; } LocalizableObject();  LocalizableObject(Language defaultLanguage); void addLocalizationListener(LocalizationListener listener); void removeLocalizationListener(LocalizationListener listener); void enableLanguage(Language language); void disableLanguage(Language language); Language switchTo(Language language); Language switchTo(Language language, boolean force); Language getLanguage(); void setLanguageResolution(LanguageResolution behavior); LanguageResolution getLanguageResolution(); void setDefaultLanguage(Language language); Language getDefaultLanguage(); Language getOriginalLanguage(); void setOriginalLanguage(Language language); boolean supportsLanguage(Language language); Set<Language> languages(); int compareTo(Localizable o, Language l); String toString(); String toString(Language language); String toString(Language language, boolean force);  }
@Test public void testLanguages() { assertEquals(2, content.languages().size()); assertTrue(content.languages().contains(english)); assertFalse(content.languages().contains(italian)); }