protected Config baseInMemorySystemConfigs() {
    Map<String, String> configMap = new HashMap<>();
    configMap.put(String.format(SystemConfig.SYSTEM_FACTORY_FORMAT, IN_MEMORY), InMemorySystemFactory.class.getName());
    configMap.put(InMemorySystemConfig.INMEMORY_SCOPE, RandomStringUtils.random(10, true, true));
    configMap.put(JobConfig.JOB_DEFAULT_SYSTEM, IN_MEMORY);
    return new MapConfig(configMap);
  }
Provides helpers for configuring an in-memory system to be used for tests and executing those tests.

This is somewhat based on {@link IntegrationTestHarness}, but it avoids using Kafka/Zookeeper.
samza-test/src/test/java/org/apache/samza/test/harness/InMemoryIntegrationTestHarness.java