@Test
public void testFindNestedJarFiles() {

    File jarFile = getJarFile("src/test/resources/jars/nesting.jar");
    Map<Object, Object> parameters = new HashMap<>();
    parameters.put("includes", Lists.newArrayList("**/qav-doc-gen*.jar", "**/*.txt"));
    final Map<String, Integer> entries = new HashMap<>();
    ClassHandler classHandler = (name, content) -> entries.put(name, content.length);
    JarFileUtil.readJarFile(jarFile, parameters, classHandler);
    assertThat(entries.size(), is(1));
    assertThat(entries.get("WEB-INF/classes/my-resource.txt"), is(24));
}