void () { XmlNSDescriptor NSDescriptor = createDescriptor( "<xs:schema xmlns:xs=\"http://www.w3.org/2001/XMLSchema\">" + "<xs:element name=\"purchaseOrder\" type=\"PurchaseOrderType\"/>" + "<xs:element name=\"comment\" type=\"xs:string\"/>" + "</xs:schema>"); assertNotNull(NSDescriptor); assertNotNull(NSDescriptor.getElementDescriptor(XmlTestUtil.tag("purchaseOrder", getProject()))); assertNotNull(NSDescriptor.getElementDescriptor(XmlTestUtil.tag("comment", getProject()))); assertNull(NSDescriptor.getElementDescriptor(UNKNOWN_TAG)); }