@@ -0,0 +1,1501 @@
+package creator;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.io.IOException;%0Aimport java.lang.reflect.InvocationTargetException;%0Aimport java.net.MalformedURLException;%0Aimport java.nio.file.Path;%0Aimport java.nio.file.Paths;%0A%0Aimport org.json.JSONArray;%0Aimport org.json.JSONException;%0Aimport org.json.JSONObject;%0Aimport org.junit.Test;%0A%0Aimport de.ust.skill.common.java.internal.SkillObject;%0A%0Apublic class JSONReaderTest %7B%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09Path path = Paths.get(System.getProperty(%22user.dir%22), %22src%22, %22test%22, %22resources%22);%0A%09%09path = path.resolve(%22values.json%22);%0A%09%09%0A%09%09try %7B%0A%09%09%09JSONArray currentJSON = JSONReader.readJSON(path.toFile());%0A%09%09%09for (int i = 0; i %3C currentJSON.length(); i++) %7B%0A%09%09%09%09JSONObject currentTest = currentJSON.getJSONObject(i);%0A%09%09%09%09SkillObject obj = JSONReader.createSkillObjectFromJSON(currentTest);%0A%09%09%09%09System.out.println(obj.prettyString());%0A%09%09%09%7D%0A%09%09%7D catch (JSONException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (MalformedURLException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (ClassNotFoundException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (NoSuchMethodException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (SecurityException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (InstantiationException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (IllegalAccessException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (IllegalArgumentException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D catch (InvocationTargetException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add executable test template