Ejemplo n.º 1
0
        public void Ctor_ShouldSetDoubleFlags()
        {
            var args = new CommandArgs(ArgumentList(Some.Flag, Some.DoubleFlag));

            MakeSure.ThatCollection(args.DoubleFlags).ContainsOnly(Some.DoubleFlag);
        }
Ejemplo n.º 2
0
        public void Ctor_ShouldSetArguments()
        {
            var args = new CommandArgs(ArgumentList(Some.Argument, Some.OtherArgument));

            MakeSure.ThatCollection(args.Arguments).ContainsOnly(Some.Argument, Some.OtherArgument);
        }