code: public static void config(Class<? extends Object> testClass, String serverURL) throws IOException {
          String resource = new StringBuilder().append(testClass.getSimpleName()).append(".class").toString();
          String rootPath = new File(testClass.getResource(resource).getPath()).getParentFile().getPath();
          config(rootPath, false, serverURL);
      }
docs: Configures the HttpSimulator running on the specified serverURL (e.g. http://localhost:8080) with the root path
  of the folder of the specified testClass class folder.
  
  @param testClass the testClass
  @param serverURL the serverURL
  @throws IOException if something goes wrong