    @Test
    public void testTransformRename() throws Exception {

        processor.setSkipManifest(true);
        // processor.add(new PathFilterJarProcessor(Collections.singleton("META-INF/jarjar-testdata.properties")));
        transformer.transform(classPath);

        Method m = getMethod(outputFile, "org.anarres.jarjar.testdata.pkg0.Main", "main", String[].class);
        m.invoke(null, (Object) new String[]{});

        JarFile jarFile = new JarFile(outputFile);
        assertContains(jarFile, "org/anarres/jarjar/testdata/pkg0/Main.class");
        assertContains(jarFile, "org/anarres/jarjar/testdata/pkg1/Cls1.class");
        assertContains(jarFile, "org/anarres/jarjar/testdata/pkg2/Cls2.class");
        assertContains(jarFile, "org/anarres/jarjar/testdata/pkg3/Cls3.class");
    }