QualifiedNameConversions { @Nonnull static LocalizedText qualifiedNameToLocalizedText(@Nonnull QualifiedName name) { return new LocalizedText("", name.getName()); } private  QualifiedNameConversions();   }
@Test public void testQualifiedNameToLocalizedText() { QualifiedName name = new QualifiedName(0, "foo"); LocalizedText text = qualifiedNameToLocalizedText(name); assertEquals(text.getLocale(), ""); assertEquals(text.getText(), "foo"); }