public async Task ShouldAllowTryingToKillAragornAndEndGame() { var bot = new AppDriver(); await bot.Receives(StartGame()); bot.AnswersWith(EntryDescription()); await bot.Receives(Kill("Aragorn")); bot.AnswersWith(AttemptingToKillAragornAnswer()); await bot.Receives(StartGame()); bot.AnswersWith(EntryDescription()); }
public async Task ShouldMakeAragornJokeWhenFianceeNameIsAragorn() { var bot = new AppDriver(); await bot.Receives(StartGame()); bot.AnswersWith(EntryDescription()); await bot.Receives(TalkTo("Aragorn")); bot.AnswersWith( QuestionFromAragornAboutFrodosStateOfMind(), QuestionFromAragornAboutFrodosFianceeName() ); await bot.Receives(Words("Aragorn")); bot.AnswersWith( AragornJokesAboutHimBeingAFianceeOfFrodo(), QuestionFromAragornAboutFrodosFianceeName()); }
public async Task ShouldAllowTalkingToAragornAndGivingFianceeName() { var bot = new AppDriver(); await bot.Receives(StartGame()); bot.AnswersWith(EntryDescription()); await bot.Receives(TalkTo("Aragorn")); bot.AnswersWith( QuestionFromAragornAboutFrodosStateOfMind(), QuestionFromAragornAboutFrodosFianceeName() ); await bot.Receives(Words("Mandaryna Mandrykiewicz")); bot.AnswersWith( AragornsStoryOfHisFianceeAfterAcknowleding("Mandaryna Mandrykiewicz"), EntryDescription()); }
public async Task ShouldMakeAragornClarifyHisFianceeQuestionWhenAskedForDetails() { var bot = new AppDriver(); await bot.Receives(StartGame()); bot.AnswersWith(EntryDescription()); await bot.Receives(TalkTo("Aragorn")); bot.AnswersWith( QuestionFromAragornAboutFrodosStateOfMind(), QuestionFromAragornAboutFrodosFianceeName() ); await bot.Receives(QuestionWho()); bot.AnswersWith(ClarificationFromAragornAboutFrodosFianceeName()); await bot.Receives(Words("Mandaryna Mandrykiewicz")); bot.AnswersWith( AragornsStoryOfHisFianceeAfterAcknowleding("Mandaryna Mandrykiewicz"), EntryDescription()); }