@Test
public void testReadArraySampleRootElement() throws Exception {

	JsonXML config = JsonXMLDefault.class.getAnnotation(JsonXML.class);
	String json = "{\"sampleRootElement\":[{\"@attribute\":\"hello\"},{\"@attribute\":\"world\"}]}";
	JAXBContext context = JAXBContext.newInstance(SampleRootElement.class);
	List<SampleRootElement> list =
			new JsonXMLBinder().readArray(SampleRootElement.class, config, context, new StringReader(json));
	Assert.assertEquals(2, list.size());
	Assert.assertEquals("hello", list.get(0).attribute);
	Assert.assertEquals("world", list.get(1).attribute);
}