@Override
    public URL getResource(String name) {
        if (isExcluded(name)) {
            return super.getResource(name);
        }
        return null;
    }
@Test
    public void canExcludeLoadingResourcesFromJar() {
        // Not sure of the intention of this; this characterises existing behaviour
        assertThat(new NestedJarClassLoader(testJar, "helloworld").getResource("helloworld.jar"))
                .isNotNull();
        assertThat(new NestedJarClassLoader(testJar).getResource("helloworld.jar"))
                .isNull();
    }