private static void testGetMovieInformation() { String[][] m = getMovieListInformation(parseMoviesHTML(formatString("harry potter"))); ArrayList<Movie> ar = getMovieInformation(m); for (Movie t : ar) { System.out.println(t.toString()); } }
public static void main(String[] args) { TestClass test = new TestClass(); System.out.println("Test of Movie objects: \n"); for (Movie m : test.movies) System.out.println(m.toString() + "\n"); }