}
public void testList() throws Exception {
long[] lvalues = new long[] { 1001 };
StringWriter stringWriter2 = new StringWriter();
FastStreamWriter SimpleStreamWriter = new FastStreamWriter(stringWriter2);
new ArrayConverter().marshal(lvalues,
new DefaultMarshallingContext(new DefaultConverterLookup(), SimpleStreamWriter),
SimpleStreamWriter);
assertEquals("<list><type>[long</type><length>1</length><long>1001</long></list>",
stringWriter2.getBuffer().toString());