@Test
public void testGetJsonXML() {

	JsonXML typeAnnotation = SampleRootElement.class.getAnnotation(JsonXML.class);
	Assert.assertEquals(typeAnnotation, new TestProvider().getJsonXML(SampleRootElement.class, new Annotation[0]));
	Annotation[] resourceAnnotations = new Annotation[]{JsonXMLDefault.class.getAnnotation(JsonXML.class)};
	Assert.assertEquals(resourceAnnotations[0], new TestProvider().getJsonXML(SampleType.class, resourceAnnotations));
	Assert.assertNull(new TestProvider().getJsonXML(SampleType.class, new Annotation[0]));
}