MultilingualComparator implements Comparator<Type>, Serializable { public Language getLanguage() { return l; } MultilingualComparator(Language language); void setLanguage(Language language); Language getLanguage(); int compare(Type a, Type b);  }
@Test public void testGetLanguage() { assertEquals(english, englishComparator.getLanguage()); assertEquals(german, germanComparator.getLanguage()); }