@Test
public void testFindNodeTypeDefinitions_zips() throws Exception {

    final File testBaseDir = new File(testTarget, "testFindNodeTypeDefinitions_zips");
    FileUtils.deleteDirectory(testBaseDir);
    testBaseDir.mkdirs();
    buildAllJars(testBaseDir);
    final List<URL> jarUrls = SlingNodetypesScanner
            .findNodeTypeDefinitions(getJars(testBaseDir).collect(Collectors.toList()));
    assertEquals("jar urls size should be: " + jarUrls, 8, jarUrls.size());
    final List<URL> dirUrls = SlingNodetypesScanner
            .findNodeTypeDefinitions(getDirs().collect(Collectors.toList()));
    assertEquals("dir urls size should be: " + dirUrls, 8, dirUrls.size());
}