public void DoTest()
        {
            BotManager manager = new BotManager();

            manager.Do();
            Assert.Pass();
        }
Esempio n. 2
0
        public void DoExitTest()
        {
            var manager = new BotManager();
            var input   = new StringReader("Exit");

            Console.SetIn(input);
            Assert.DoesNotThrow(() => manager.Do());
        }
Esempio n. 3
0
        public void DoTest()
        {
            var manager = new BotManager();
            var input   = new StringReader("..\\..\\..\\..\\Extensions");

            Console.SetIn(input);
            Assert.DoesNotThrow(() => manager.Do());
        }