コード例 #1
0
 public void TestAskBot()
 {
     controller.EarnFilms(
         controller.GetDictionaryForRequest(questions, user),
         4);
     A.CallTo(() => bot.Ask(A <Question> .Ignored, A <User> .Ignored))
     .MustHaveHappened(Repeated.Exactly.Times(3));
 }