@Test
    public void testLoadClassWithDeps() throws Exception {
        File file = new File("src/test/resources/plugin-with-deps.war");
        if (!file.exists()) {
            throw new Exception("Failed to find test WAR: plugin-with-deps.war at: " + file.getAbsolutePath());
        }
        PluginClassLoader classloader = new TestPluginClassLoader(file);
        Class<?> class1 = classloader.loadClass("io.apiman.quickstarts.plugin.deps.DepsPluginMain");
        Method mainMethod = class1.getMethod("main", new String[0].getClass());
        mainMethod.invoke(null, new Object[1]);
    }
Test method for {@link io.apiman.common.plugin.PluginClassLoader#loadClass(java.lang.String)}.
@throws Exception exception catch-all
common/plugin/src/test/java/io/apiman/common/plugin/PluginClassLoaderTest.java