private static InputStream inputStreamFromFile ( URL resourceUrl ) throws IOException , URISyntaxException { File resourceFile = new File ( resourceUrl . toURI ( ) ) ; return new FileInputStream ( resourceFile ) ; }
system does run it using a jar so we do have coverage .