"<string>123.456</string></map>", str);
}
public void testMarshallingBigInteger() throws Exception {
BigInteger number = new BigInteger("123");
Converter converter = converterLookup.lookupConverterForType(BigInteger.class);
assertEquals(BigNumberConverter.class, converter.getClass());
marshallingContext.convertAnother(number);
String str = stringWriter.getBuffer().toString();
assertEquals("<map><type>java.math.BigInteger</type>" +
"<string>value</string>" +
"<string>123</string></map>", str);