@Test
public void testGetNamespaceURI_XmlElementDecl() throws Exception {

	JsonXMLRootProvider provider = new JsonXMLRootProvider();
	Method createSampleType =
				ObjectFactory.class.getMethod("createSampleType", SampleType.class);
	Assert.assertEquals(XMLConstants.NULL_NS_URI,
			provider.getNamespaceURI(createSampleType.getAnnotation(XmlElementDecl.class), null));
	Method createSampleTypeWithNamespace =
			ObjectFactory.class.getMethod("createSampleTypeWithNamespace", SampleTypeWithNamespace.class);
	Assert.assertEquals("urn:staxon:jaxb:test",
			provider.getNamespaceURI(createSampleTypeWithNamespace.getAnnotation(XmlElementDecl.class), null));
}