Ejemplo n.º 1
0
 public ChatCommandHandler(IChatResponseRepository chatResponseRepository, ISlackbot slackbot)
 {
     this.chatResponseRepository = chatResponseRepository;
     this.slackbot = slackbot;
 }
Ejemplo n.º 2
0
 public ChatCommandHandlerTests()
 {
     chatResponseRepository = Substitute.For <IChatResponseRepository>();
     slackbot       = Substitute.For <ISlackbot>();
     commandHandler = new ChatCommandHandler(chatResponseRepository, slackbot);
 }