Assert.assertEquals("[1, 2, 3, null]", list.toString());
Assert.assertEquals(new BigDecimal("1"), list.get(0));
}
public void test_5() throws Exception {
DefaultExtJSONParser parser = new DefaultExtJSONParser("[1,2,3,null]");
Object[] array = parser.parseArray(new Type[] { Integer.class, BigDecimal.class, Long.class, String.class });
Assert.assertEquals(new Integer(1), array[0]);
Assert.assertEquals(new BigDecimal("2"), array[1]);
Assert.assertEquals(new Long(3), array[2]);
Assert.assertEquals(null, array[3]);
}