@Test
public void testReadObjectSampleType() throws Exception {

	JsonXML config = JsonXMLDefault.class.getAnnotation(JsonXML.class);
	String json = "{\"sampleType\":{\"element\":\"hi!\"}}";
	JAXBContext context = JAXBContext.newInstance(SampleType.class);
	SampleType sampleType =
			new JsonXMLBinder().readObject(SampleType.class, config, context, new StringReader(json));
	Assert.assertEquals("hi!", sampleType.element);
}