public void checkPuts(final String[] vals, final int[] indices) {
      for (int index : indices) {
        boolean foundKey = false;

        for (CqEvent event : eventList) {
          if (KEYS[index].equals(event.getKey())) {
            assertEquals(vals[index], event.getNewValue());
            foundKey = true;
            break;
          }
        }

        assertTrue(foundKey);
      }
    }
Implements the {@link CqListener} interface and counts the number of different operations and
also queues up the received updates to precise checking of each update.

@since GemFire 5.5
geode-dunit/src/main/java/org/apache/geode/security/ClientAuthorizationTestCase.java