@Test
public void testReadArraySampleTypeWithNull_DocumentArray1() throws Exception {

	JsonXML config = JsonXMLDefault.class.getAnnotation(JsonXML.class);
	String json = "[{\"sampleType\":{\"element\":\"hi!\"}},null]";
	JAXBContext context = JAXBContext.newInstance(SampleType.class);
	List<SampleType> list = new JsonXMLBinder().readArray(SampleType.class, config, context, new StringReader(json));
	Assert.assertEquals(2, list.size());
	Assert.assertEquals("hi!", list.get(0).element);
	Assert.assertNull(list.get(1));
}