public void ConvertsEveryEnumValueTest()
 {
     var values = Enum.GetValues(typeof(ExecutionMode)).Cast<ExecutionMode>();
     var c = new ExecutionModeConverter();
     foreach (ExecutionMode value in values) {
         string text = (string)c.Convert(value, null, null, null);
         Assert.IsFalse(String.IsNullOrWhiteSpace(text));
     }
 }
 public ConfigurationDialogueContent()
 {
     Helper.EnsureApplicationResources();
     InitializeComponent();
     DataContext = this;
     var modes = Enum.GetValues(typeof(ExecutionMode)).Cast<ExecutionMode>();
     var c = new ExecutionModeConverter();
     m_availableExecutionModeNames = modes.Select(o => (string)c.Convert(o, null, null, null));
     Mode = ExecutionMode.Synchronous;
 }