public async Task TheHandleMethodShouldAddResponseAsync(string regex, string response) { // Act await commandHandler.HandleAsync($"add {regex} {response}", string.Empty, default); // Assert await chatResponseRepository.Received().AddAsync(regex, response); slackbot.Received().SendMessage(string.Empty, "I added your chat response to my AI."); }