public void InvalidGeneratorValidateTest() { MeetBotConfig uut = new MeetBotConfig(meetbotPath); GeneratorConfig config = new GeneratorConfig(meetbotPath) { Type = MeetingNotesGeneratorType.Unknown }; uut.Generators.Add(config); Assert.Throws <ListedValidationException>(() => uut.Validate()); }
public void DefaultSettingsValidateTest() { MeetBotConfig uut = new MeetBotConfig(meetbotPath); Assert.DoesNotThrow(() => uut.Validate()); }