@Test
public void testGetNameString() {

    Assert.assertEquals("{http://www.jcp.org/jcr/1.0}primaryType", NameUtil.getExpandedNameString("http://www.jcp.org/jcr/1.0", "primaryType"));
    Assert.assertEquals("{}unnamespacedName", NameUtil.getExpandedNameString("unnamespacedName"));
}