Exemplo n.º 1
0
        public void CmdExit_TrueWithNoArgs()
        {
            CmdExit _exit = new CmdExit();

            string[] args   = {};
            var      result = _exit.Validate(args);

            Assert.True(result, "Exit should return true with no arguments");
        }
Exemplo n.º 2
0
        public void CmdExit_TrueWithMultipleArgs()
        {
            CmdExit _exit = new CmdExit();

            string[] args   = { "string1", "string2" };
            var      result = _exit.Validate(args);

            Assert.True(result, "Exit should return true with multiple arguments");
        }