[server][testHostResourceQueryOptionSubClasses] Place related methods near by.