@Test
public void testReadObjectSampleRootElement() throws Exception {

	JsonXML config = JsonXMLDefault.class.getAnnotation(JsonXML.class);
	String json = "{\"sampleRootElement\":{\"@attribute\":\"hello\",\"elements\":[\"world\"]}}";
	JAXBContext context = JAXBContext.newInstance(SampleRootElement.class);
	SampleRootElement sampleRootElement =
			new JsonXMLBinder().readObject(SampleRootElement.class, config, context, new StringReader(json));
	Assert.assertEquals("hello", sampleRootElement.attribute);
	Assert.assertEquals("world", sampleRootElement.elements.get(0));
}