Пример #1
0
                public void Should_return_false_if_the_first_words_of_the_arguments_do_not_match_the_command_words_at_all()
                {
                    var result = new SimpleCommand().IsMatch(new[] { "hello", "world", "woot" });

                    result.ShouldBeFalse();
                }
Пример #2
0
                public void Should_return_false_if_the_first_words_of_the_arguments_match_the_command_words_except_for_case()
                {
                    var result = new SimpleCommand().IsMatch(new[] { "Simple", "Command", "Woot!" });

                    result.ShouldBeFalse();
                }
Пример #3
0
                public void Should_return_false()
                {
                    var result = new SimpleCommand().IsMatch(new[] { "foo" });

                    result.ShouldBeFalse();
                }