private static String readResource(ClassLoader classLoader, String name) throws Exception {
        try (BufferedReader reader = new BufferedReader(
                new InputStreamReader(classLoader.getResourceAsStream(name)))) {
            return reader.lines().collect(Collectors.joining(System.lineSeparator()));
        }
    }
Test cases in this class depend on JARs built by "test-helpers" project.

See "deployJarsForEmbulkTestMavenPlugin" task in test-helpers/build.gradle for more details
embulk-core/src/test/java/org/embulk/plugin/jar/TestJarPluginLoader.java