System.out.println("result = " + result);
}
public void testBigDecimalOnSerialization() throws Exception
{
TestWithBigDecimal obj = TestWithBigDecimal.createTestInstance();
BigDecimal decimal1_1 = obj.getValue();
BigDecimal decimal1_2 = obj.getValue2();
ByteArrayOutputStream byteout = new ByteArrayOutputStream();
ObjectOutputStream out = new ObjectOutputStream (byteout);
out.writeObject(decimal1_1);
out.writeObject(decimal1_2);