@Test
public void testConvertJSONArrayToList() throws JSONException {

    JSONArray array = new JSONArray("[ '1', '2', '3' ]");
    List<Object> list = JSONArrays.asList(array);
    assertThat(list, equalTo(Arrays.asList(new Object[] { "1", "2", "3" })));
}