public static URL getResource(final String resourceName) {
    URL resource = getCallerClass(2).getResource(resourceName);
    assertThat(resource)
        .as("Resource '" + resourceName + "'")
        .isNotNull();
    return resource;
  }
Finds {@code resourceName} using the {@code ClassLoader} of the caller class.

@param resourceName the resource to find
@return the URL of the resource

@throws AssertionError if the resource cannot be located

@throws RuntimeException wrapping a ClassNotFoundException if the class cannot be located
geode-junit/src/main/java/org/apache/geode/test/util/ResourceUtils.java