@@ -0,0 +1,656 @@
+package com.nitorcreations.willow.auth;%0A%0Aimport static org.junit.Assert.assertArrayEquals;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.Set;%0A%0Aimport org.json.JSONArray;%0Aimport org.json.JSONException;%0Aimport org.junit.Test;%0A%0Apublic class JSONToolTest %7B%0A  @Test%0A  public void testToArrayToStringSet() throws JSONException %7B%0A    List%3CString%3E lst1 = Arrays.asList(new String%5B%5D %7B %22a%22, %22b%22 %7D);%0A    List%3CString%3E lst2 = Arrays.asList(new String%5B%5D %7B %22c%22, %22d%22 %7D);%0A    JSONArray arr = JSONTool.toArray(lst1, lst2);%0A    Set%3CString%3E ret = JSONTool.toStringSet(arr);%0A    assertArrayEquals(new String%5B%5D %7B %22a%22, %22b%22, %22c%22, %22d%22 %7D, ret.toArray()); %0A  %7D%0A%7D%0A

Add test class for JSONTool