private static Config config() {
    Map<String, String> configMap = new HashMap<>();
    configMap.put(JobConfig.JOB_NAME, JOB_NAME);
    configMap.put(JobConfig.JOB_ID, JOB_ID);
    return new MapConfig(configMap);
  }
Common steps to verify when preparing workers for processing.
@param jobModel job model to be served for workers
@param metadataResourceUtil expected to be used for creating resources
@param streamPartitionCountMonitor expected to be started
@param streamRegexMonitor if not null, expected to be started
@param newMetadata if not null, expected to be written to {@link JobCoordinatorMetadataManager}
@param expectedFanOut if not null, expected to be passed to {@link StartpointManager} for fan out
samza-core/src/test/java/org/apache/samza/coordinator/staticresource/TestStaticResourceJobCoordinator.java