public int checkForRestoredEntries(final KeyValueStore<K, V> store) {
        int missing = 0;
        for (final KeyValue<byte[], byte[]> kv : restorableEntries) {
            if (kv != null) {
                final V value = store.get(stateSerdes.keyFrom(kv.key));
                if (!Objects.equals(value, stateSerdes.valueFrom(kv.value))) {
                    ++missing;
                }
            }
        }
        return missing;
    }
Utility method that will count the number of {@link #addEntryToRestoreLog(Object, Object) restore entries} missing from the
supplied store.

@param store the store that is to have all of the {@link #restoredEntries() restore entries}
@return the number of restore entries missing from the store, or 0 if all restore entries were found
@see #addEntryToRestoreLog(Object, Object)
streams/src/test/java/org/apache/kafka/streams/state/KeyValueStoreTestDriver.java