@Test
public void testNullWrapper() throws Exception
{
NullWrapper wrapper = new NullWrapper();
assert wrapper.convert(null) == null;
byte[] expected = "<null/>".getBytes();
ByteArrayOutputStream out = new ByteArrayOutputStream();
wrapper.marshal(out);
assertEquals(expected, out.toByteArray());