code: void addResource(final String path, final Object resource) {
  
          try {
              if (resource instanceof TemporaryZipFile) {
                  final URL url = ((TemporaryZipFile) resource).getFile().toURI().toURL();
                  this.pathHandler.addPrefixPath(path, createZipResourceHandler(url));
              } else if (resource instanceof TemporaryFolder) {
                  final Path resourcePath = ((TemporaryFolder) resource).getRoot().toPath();
                  this.pathHandler.addPrefixPath(path, new ResourceHandler(new PathResourceManager(resourcePath, 1024)));
              } else if (resource instanceof TemporaryFile) {
                  final Path resourcePath = ((TemporaryFile) resource).getFile().toPath();
                  this.pathHandler.addExactPath(path, new PathResourceHandler(resourcePath));
              } else if (resource instanceof URL) {
                  final URL url = (URL) resource;
                  if (url.getPath().endsWith(".zip")) {
                      this.pathHandler.addPrefixPath(path, createZipResourceHandler(url));
                  } else {
                      this.pathHandler.addExactPath(path, new UrlResourceHandler(url));
                  }
              } else if (resource instanceof byte[]) {
                  this.pathHandler.addExactPath(path, new ByteArrayHandler((byte[]) resource));
              }
          }catch(IOException e){
              throw new AssertionError("Could not add Resource", e);
          }
      }
docs: Adds a resource to the path handler under the specified context path. Resources may be of various types:
  <ul>
  <li>{@link io.inkstand.scribble.rules.TemporaryZipFile} - zip file that is created for test execution.
  All files in the zip are hosted on the specified path as root folder.
  </li>
  <li>{@link java.net.URL} pointing to a zip resource, same as the TemporaryZipFile but the zip has to
  be predined</li>
  </ul>
  @param path
  the path to the resource
  @param resource
  a resource to add. The method can handle various types of resources.
  @throws IOException
  @throws URISyntaxException