@Test
    public void testManyLocators() {
        AssetManager am = new DesktopAssetManager(true);
        am.registerLocator(
                "https://github.com/jMonkeyEngine/wiki/raw/master/docs/modules/tutorials/assets/images/beginner/",
                UrlLocator.class);

        am.registerLocator("../jme3-examples/town.zip", ZipLocator.class);
        am.registerLocator(
                "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/wildhouse.zip",
                HttpZipLocator.class);
        am.registerLocator("/", ClasspathLocator.class);

        // Try loading from jme3-core resources using the ClasspathLocator.
        Assert.assertNotNull("Failed to load from classpath",
                am.locateAsset(new AssetKey<>("Interface/Fonts/Default.fnt")));

        // Try loading from the "town.zip" file using the ZipLocator.
        Assert.assertNotNull("Failed to load from town.zip file",
                am.locateAsset(new ModelKey("casaamarela.jpg")));

        // Try loading from the Google Code Archive website using the HttpZipLocator.
        Assert.assertNotNull("Failed to load from wildhouse.zip on googleapis.com",
                am.locateAsset(new ModelKey("glasstile2.png")));

        // Try loading from the GitHub website using the UrlLocator.
        Assert.assertNotNull("Failed to load from HTTP",
                am.locateAsset(new TextureKey("beginner-physics.png")));
    }
Demonstrates loading a file from a custom {@link AssetLoader}
jme3-core/src/test/java/com/jme3/asset/TestLocators.java