// The proper way is to either use events or not to expect the sequencers have finished.
Node png = findNodeAndWait(session, "/images/caution.png", 10, TimeUnit.SECONDS);
if (print) tools.printSubgraph(png);
Node sampleMp3 = findNodeAndWait(session, "/audio/sample1.mp3", 10, TimeUnit.SECONDS);
if (print) tools.printSubgraph(sampleMp3);
Node javaClass = findNodeAndWait(session, "/java/JcrRepository.class", 10, TimeUnit.SECONDS);
if (print) tools.printSubgraph(javaClass);
Node textFile = findNodeAndWait(session, "/text/fixedWidthFile.txt", 10, TimeUnit.SECONDS);