Exemplo n.º 1
0
        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());
        }
Exemplo n.º 2
0
        public void DefaultSettingsValidateTest()
        {
            MeetBotConfig uut = new MeetBotConfig(meetbotPath);

            Assert.DoesNotThrow(() => uut.Validate());
        }