@Test
public void testWriteObjectNullWithVirtualRoot() throws Exception {

	JsonXML config = JsonXMLVirtualSampleRootElement.class.getAnnotation(JsonXML.class);
	StringWriter writer = new StringWriter();
	JAXBContext context = JAXBContext.newInstance(SampleType.class);
	new JsonXMLBinder().writeObject(SampleType.class, config, context, writer, null);
	Assert.assertEquals("null", writer.toString());
}