public Map<String, StateStore> getAllStateStores() {
        final Map<String, StateStore> allStores = new HashMap<>();
        for (final String storeName : internalTopologyBuilder.allStateStoreNames()) {
            allStores.put(storeName, getStateStore(storeName, false));
        }
        return allStores;
    }
Get all {@link StateStore StateStores} from the topology.
The stores can be a "regular" or global stores.
<p>
This is often useful in test cases to pre-populate the store before the test case instructs the topology to
{@link TestInputTopic#pipeInput(TestRecord)}  process an input message}, and/or to check the store afterward.
<p>
Note, that {@code StateStore} might be {@code null} if a store is added but not connected to any processor.
<p>
<strong>Caution:</strong> Using this method to access stores that are added by the DSL is unsafe as the store
types may change. Stores added by the DSL should only be accessed via the corresponding typed methods
like {@link #getKeyValueStore(String)} etc.

@return all stores my name
@see #getStateStore(String)
@see #getKeyValueStore(String)
@see #getTimestampedKeyValueStore(String)
@see #getVersionedKeyValueStore(String)
@see #getWindowStore(String)
@see #getTimestampedWindowStore(String)
@see #getSessionStore(String)
streams/test-utils/src/main/java/org/apache/kafka/streams/TopologyTestDriver.java