Beispiel #1
0
 public void Parser_must_be_able_to_identify_a_multiple_option_question()
 {
     parser.Parse(Id, "TestSurvey", TestQuestions.MultipleOptionQuestion);
     bus.EventTypeWasRaised <MultipleOptionAnswerReceived>().ShouldBe(true);
 }
Beispiel #2
0
 public void Parser_must_be_able_to_identify_a_yesno_question()
 {
     parser.Parse(Id, "TestSurvey", TestQuestions.YesnoQuestion);
     bus.EventTypeWasRaised <YesNoAnswerReceived>().ShouldBe(true);
 }