NameUtil { public static @NotNull String getExpandedNameString(@NotNull String namespaceURI, @NotNull String localName) { return NameFactoryImpl.getInstance().create(namespaceURI, localName).toString(); } private  NameUtil(); static @NotNull String getExpandedNameString(@NotNull String namespaceURI, @NotNull String localName); static @NotNull String getExpandedNameString(@NotNull String name);  }
@Test public void testGetNameString() { Assert.assertEquals("{http: Assert.assertEquals("{}unnamespacedName", NameUtil.getExpandedNameString("unnamespacedName")); }