/** Test of crearGrafo method, of class Grafo. */ @Test public void testCrearGrafo() { System.out.println("crearGrafo"); String[] archivos = {"funcion1.sql", "funcion2.sql", "archivoNoValido.txt"}; String ubicacionArchivos = "/Users/juancarlos/tmp/"; Grafo instance = new Grafo(); List<Nodo> result = instance.crearGrafo(ubicacionArchivos, archivos, null); for (int y = 0; y < result.size(); y++) { System.out.println("archivo " + y + " " + result.get(y).getPrograma()); for (int x = 0; x < result.get(y).getLlamadas().size(); x++) { System.out.println( "archivo" + result.get(y).getPrograma() + " llama a " + result.get(y).getLlamadas().get(x).getPrograma()); } } }