hunk.code_window: 	monitor.Stop()
   	monitor.Stop()
   }
   func Test_canStopStartedMonitor(t *testing.T) {
   	monitor := New(1*time.Minute, nil, context.Background())
   	monitor.Start()
   	assert.NotNil(t, monitor.cancellationFunc, "cancellation function is missing in started monitor")
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: func Test_startOrStopCouldBeCalledMultipleTimesConcurrently(t *testing.T) {
   	monitor := New(1*time.Minute, nil, context.Background())
   	go monitor.Start()
   	monitor.Start()
   	go monitor.Stop()
   	monitor.Stop()
   	time.Sleep(2 * time.Second)
   }
  
hunk.file_path: api/adminmonitor/admin_monitor_test.go
hunk.type: add
file: import controller from './ad-settings.controller';
  
  export const adSettings = {
    templateUrl: './ad-settings.html',
    controller,
    bindings: {
      settings: '=',
      tlscaCert: '=',
      state: '=',
      connectivityCheck: '<',
      onSaveSettings: '<',
      saveButtonState: '<',
      isLdapFormValid: '&?',
    },
  };
  