public ChatCommandHandler(IChatResponseRepository chatResponseRepository, ISlackbot slackbot) { this.chatResponseRepository = chatResponseRepository; this.slackbot = slackbot; }
public ChatCommandHandlerTests() { chatResponseRepository = Substitute.For <IChatResponseRepository>(); slackbot = Substitute.For <ISlackbot>(); commandHandler = new ChatCommandHandler(chatResponseRepository, slackbot); }