254255256257258259260261262263
ClassLoader cl = method.getTestMethod().getMethod().getDeclaringClass().getClassLoader(); return cl.getResourceAsStream(url); } }; case FILESYSTEM: return new FileInputStreamProvider(new File(url)); default: return null; } }