@Override
  public void start(Function<Boolean, Boolean> onShutdownCallback) {
    if (!tableServicesEnabled(writeConfig)) {
      return;
    }
    super.start(onShutdownCallback);
  }
@Test
  void tableServiceShouldNotStartIfDisabled(@Mock HoodieWriteConfig config) {
    when(config.areTableServicesEnabled()).thenReturn(false);
    HoodieAsyncTableService service = new DummyAsyncTableService(config);
    service.start(null);
    assertFalse(service.isStarted());
  }