### Question:
SiteTools { public static List<List<String>> getOngoingAnimeList(String string_document) { Document document = Jsoup.parse(string_document); List<List<String>> ongoingAnimeList = new ArrayList<>(); Elements anime_list = document.select("div.an-list>div"); for (Element anime : anime_list) { String anime_url = "", image_url = "", title = ""; for (Element animeDetail : anime.children()) { if (animeDetail.className().equals("an-image")) { anime_url = animeDetail.child(0).attr("href"); image_url = animeDetail.child(0).child(0).attr("src"); } if (animeDetail.className().equals("an-text")) { title = animeDetail.child(0).text(); } } ongoingAnimeList.add(new ArrayList<>(Arrays.asList(title, anime_url, image_url))); } return ongoingAnimeList; }  static List<List<String>> getAnimeList(String response); static List<List<String>> getOngoingAnimeList(String string_document); static List<List<String>> getGenreList(String response); static Element getAnimeByGenreElement(String url, String genre, int page); static List<List<String>> getAnimeByGenre(String url); static List<List<String>> getAnimeByGenreElementParse(Element div); static List<List<String>> getAlternateEpisodeLinks(String response); static String getVideoURL(String response);  }### Answer:
@Test public void getsOngoingAnimeList(){ String document= null; try { document = getDocument("ongoinganime.html"); } catch (IOException e) { fail("Could not load html test file"); } assertThat((SiteTools.getOngoingAnimeList(document).get(0).get(0).equals("Planet With")),is(true)); assertThat((SiteTools.getOngoingAnimeList(document).get(0).get(1).equals("http: assertThat((SiteTools.getOngoingAnimeList(document).get(0).get(2).equals("http: }