116117118119120121122123124125126
public void test_error_2() throws Exception { DefaultExtJSONParser parser = new DefaultExtJSONParser("{}"); Exception error = null; try { parser.accept(JSONToken.NULL); } catch (Exception ex) { error = ex; } Assert.assertNotNull(error); }