protected InputStream getResourceAsStream(Class<?> associatedClass, String resourceName)
      throws IOException {
    return getResource(associatedClass, resourceName).openStream();
  }
Use this method to get a resource stored in the test's resource directory
geode-junit/src/main/java/org/apache/geode/codeAnalysis/AnalyzeDataSerializablesTestBase.java