question: public void testArrayListToJsonArrayConversion ( ) { try { JSONArray array = StoreRetrieveData . toJSONArray ( mTestData ) ; assertEquals ( mTestData . size ( ) , array . length ( ) ) ; } catch ( Exception e ) { fail ( "Exception thrown when converting to JSONArray: " + e . getMessage ( ) ) ; } }
target:  Ensure JSONArray conversion works as intended