private static boolean isAppModeBatch(Config config) {
    return new ApplicationConfig(config).getAppMode() == ApplicationConfig.ApplicationMode.BATCH;
  }
Constructor only used in unit test to allow injection of {@link LocalJobPlanner}
samza-core/src/main/java/org/apache/samza/runtime/LocalApplicationRunner.java