@Test
    public void testGetResource() throws Exception {
        File file = new File("src/test/resources/plugin.war");
        if (!file.exists()) {
            throw new Exception("Failed to find test WAR: plugin.war at: " + file.getAbsolutePath());
        }
        PluginClassLoader classloader = new TestPluginClassLoader(file);
        URL resource = classloader.getResource("META-INF/maven/io.apiman/apiman-quickstarts-plugin/pom.properties");
        Assert.assertNotNull(resource);
        resource = classloader.getResource("META-INF/maven/io.apiman/apiman-quickstarts-plugin/not.found");
        Assert.assertNull(resource);
    }
Test method for {@link io.apiman.common.plugin.PluginClassLoader#getResource(String)}.
@throws Exception exception catch-all
common/plugin/src/test/java/io/apiman/common/plugin/PluginClassLoaderTest.java