@Test
    public void testGetPolicyDefinitionResources() throws Exception {
        File file = new File("src/test/resources/plugin-with-policyDefs.war");
        if (!file.exists()) {
            throw new Exception("Failed to find test WAR: plugin-with-policyDefs.war at: " + file.getAbsolutePath());
        }
        PluginClassLoader classloader = new TestPluginClassLoader(file);
        List<URL> resources = classloader.getPolicyDefinitionResources();
        Assert.assertNotNull(resources);
        Assert.assertEquals(2, resources.size());
        URL url = resources.get(0);
        Assert.assertNotNull(url);
        Assert.assertTrue(url.toString().contains("META-INF/apiman/policyDefs"));
    }
Test method for {@link io.apiman.common.plugin.PluginClassLoader#getPolicyDefinitionResources()}.
@throws Exception exception catch-all
common/plugin/src/test/java/io/apiman/common/plugin/PluginClassLoaderTest.java