Ejemplo n.º 1
0
        public void ShouldNotAccepttInvalidFirstParameter()
        {
            string[]     args    = { "/lis", "tags", "new" };
            ListArgument listArg = new ListArgument(args);

            listArg.IsValid().ShouldBeFalse();
        }
Ejemplo n.º 2
0
        public void ShouldAccepttListTagsByCountParameter()
        {
            string[]     args    = { "/list", "tags", "byCount" };
            ListArgument listArg = new ListArgument(args);

            listArg.IsValid().ShouldBeTrue();
        }
Ejemplo n.º 3
0
        public void ShouldAcceptDefaultListParameter()
        {
            string[]     args    = { "/list" };
            ListArgument listArg = new ListArgument(args);

            listArg.IsValid().ShouldBeTrue();
        }
Ejemplo n.º 4
0
        public void ShouldAccepTodayListParameter()
        {
            string[]     args    = { "/list", "TODAY" };
            ListArgument listArg = new ListArgument(args);

            listArg.IsValid().ShouldBeTrue();
        }
Ejemplo n.º 5
0
        public void ShouldAccepttFutureListParameter()
        {
            string[]     args    = { "/list", "FUTUre" };
            ListArgument listArg = new ListArgument(args);

            listArg.IsValid().ShouldBeTrue();
        }