@Test
public void testWriteXmlRootElement() throws Exception {

	JsonXMLMapper<SampleRootElement> mapper = new JsonXMLMapper<SampleRootElement>(SampleRootElement.class);
	StringWriter writer = new StringWriter();
	SampleRootElement value = new SampleRootElement();
	mapper.writeObject(writer, value);
	writer.close();
	Assert.assertEquals("{\"sampleRootElement\":null}", writer.toString());
}