コード例 #1
0
 public ChatCommandHandler(IChatResponseRepository chatResponseRepository, ISlackbot slackbot)
 {
     this.chatResponseRepository = chatResponseRepository;
     this.slackbot = slackbot;
 }
コード例 #2
0
 public ChatCommandHandlerTests()
 {
     chatResponseRepository = Substitute.For <IChatResponseRepository>();
     slackbot       = Substitute.For <ISlackbot>();
     commandHandler = new ChatCommandHandler(chatResponseRepository, slackbot);
 }