Пример #1
0
        public void CmdDelete_TrueWithMoreThan2Args()
        {
            CmdDelete _delete = new CmdDelete();

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

            Assert.True(result, "Delete should return true with more than 2 arguments");
        }
Пример #2
0
        public void CmdDelete_FalseWithNoArguments()
        {
            CmdDelete _delete = new CmdDelete();

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

            Assert.False(result, "Delete should return false with no arguments");
        }