public static URL getResource(final ClassLoader classLoader, final String resourceName) {
    URL resource = classLoader.getResource(resourceName);
    assertThat(resource)
        .as("Resource '" + resourceName + "' associated with ClassLoader '" + classLoader + "'")
        .isNotNull();
    return resource;
  }
Finds {@code resourceName} using the specified {@code ClassLoader}.

@param classLoader the {@code ClassLoader} from which to retrieve the resource
@param resourceName the resource to find
@return the URL of the resource

@throws AssertionError if the resource cannot be located
geode-junit/src/main/java/org/apache/geode/test/util/ResourceUtils.java