+ try {
+ cache = new Cache(new File("test/source/" + support.getType()), -1,
+ -1);
+ downloader = new Downloader("gofetch", cache);
+ } catch (IOException e) {
+ throw new RuntimeException(e);
+ }
+ }
+
+ protected InputStream download(URL url) throws IOException {
+ return downloader.open(url);