JobAPIFactory { public static JobConfigurationAPI createJobConfigurationAPI(final String connectString, final String namespace, final String digest) { return new JobConfigurationAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  static JobConfigurationAPI createJobConfigurationAPI(final String connectString, final String namespace, final String digest); static JobOperateAPI createJobOperateAPI(final String connectString, final String namespace, final String digest); static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest); static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final String digest); static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest); static ShardingStatisticsAPI createShardingStatisticsAPI(final String connectString, final String namespace, final String digest);  }
@Test public void assertCreateJobConfigAPI() { assertThat(JobAPIFactory.createJobConfigurationAPI(getConnectionString(), "namespace", null), instanceOf(JobConfigurationAPI.class)); }