@Test
public void testGetPlanClassLoader_empty() throws Exception {

    final File cacheDir = new File("target/test-output/OpearFileTest/testGetPlanClassLoader_empty/cache");
    if (cacheDir.exists()) {
        FileUtils.deleteDirectory(cacheDir);
    }
    OpearFile opearFile = new OpearFile(cacheDir,
            new OpearFile.OpearMetadata(new String[0], new String[0], true));
    final ClassLoader parent = new URLClassLoader(new URL[0], null);
    assertSame("same classloader with empty classpath", parent, opearFile.getPlanClassLoader(parent));
}