public class JSONWriterTest extends TestCase {
public void test_intArray() throws Exception {
JSONWriter writer = new JSONWriter();
writer.writeObject(new int[] { 1, 2, 3 });
Assert.assertEquals("[1,2,3]", writer.toString());
}
public void test_throwable() throws Exception {
JSONWriter writer = new JSONWriter();