@Test
    public void loadResourcesIOException()
            throws NoSuchMethodException, MalformedURLException, IllegalAccessException {
        Method loadResourcesMethod = getLoadResources();
        ExtensionLoader<JdbcSPI> extensionLoader = ExtensionLoader.getExtensionLoader(JdbcSPI.class);
        try {
            loadResourcesMethod.invoke(extensionLoader, new HashMap<>(),
                    new URL("file:/org.apache.shenyu.spi.fixture.NoExistSPI"));
            fail();
        } catch (InvocationTargetException expect) {
            assertThat(expect.getTargetException().getMessage(), containsString("load extension resources error"));
        }
    }
test loadResources url IO Exception case.

@throws NoSuchMethodException  the no such method exception
@throws MalformedURLException  the malformed url exception
@throws IllegalAccessException the illegal access exception
shenyu-spi/src/test/java/org/apache/shenyu/spi/ExtensionLoaderTest.java