public void cannot_parse_incorrectly_formatted_input(string input)
        {
            var result = SayActionParser.GetParser(new SpeechServiceMock(MockBehavior.Loose))(new Input(input));

            Assert.False(result.WasSuccessful && result.Remainder.AtEnd);
        }
Exemple #2
0
 public void get_parser_throws_if_speech_service_is_null()
 {
     Assert.Throws <ArgumentNullException>(() => SayActionParser.GetParser(null));
 }