code: public static synchronized boolean compareMetricsCacheValuesByKey(String deployment, String key, ArrayList<Object> valuesToCompare) {
          boolean isEqual = true;
          ArrayList<Object> cacheValues;
          cacheValues = getMetricsCache(deployment).get(key);
          
          for (Object valueComp : valuesToCompare) {
              for (Object value : cacheValues) {
                  if (value.toString().compareTo(valueComp.toString()) == 0) {
                      isEqual = true;
                      break;
                  }
                  isEqual = false;
              }
          }
          
          return isEqual;
      }
docs: Dummy comparison for test cases.