@Test
public void testWriteXmlType() throws Exception {

	JsonXML config = JsonXMLDefault.class.getAnnotation(JsonXML.class);
	JsonXMLMapper<SampleType> mapper = new JsonXMLMapper<SampleType>(SampleType.class, config);
	StringWriter writer = new StringWriter();
	SampleType value = new SampleType();
	mapper.writeObject(writer, value);
	writer.close();
	Assert.assertEquals("{\"sampleType\":null}", writer.toString());
}