@Override
  public void startWatching() {
    if (settings.getProps().valueAsBoolean(ENABLE_STOP_COMMAND.getKey())) {
      super.startWatching();
    }
  }
@Test
  public void startWatching_does_not_start_thread_if_stop_command_is_disabled() {
    TestAppSettings appSettings = new TestAppSettings();
    StopRequestWatcherImpl underTest = new StopRequestWatcherImpl(appSettings, scheduler, commands);

    underTest.startWatching();
    assertThat(underTest.isAlive()).isFalse();
  }