@Test
public void testReadNullWithVirtualRoot() throws Exception {

	JsonXMLObjectProvider provider = new JsonXMLObjectProvider(null);
	Annotation[] annotations = new Annotation[]{JsonXMLVirtualSampleRootElement.class.getAnnotation(JsonXML.class)};
	String json = "null";
	SampleRootElement sampleRootElement = (SampleRootElement)provider.read(SampleRootElement.class,
			null, annotations, MediaType.APPLICATION_JSON_TYPE, null, new StringReader(json));
	Assert.assertNotNull(sampleRootElement);
}