code: public static void check(LinkedHashMap<String, Object> nameExpectedValues, long timeout, String failMessagePrefix)
            throws QTasteTestFailException {
          CacheValidator validator = new CacheValidator(nameExpectedValues, timeout);
          validator.validate(failMessagePrefix);
      }
docs: Note that since nameExpectedValues is a map, it can only contain one expected value per name.