public async Task GivenASlurWithUserMention_WhenFlaming_UserIsMentioned() { _userService.Setup(service => service.Mention(It.IsAny <User>())).Returns("<@otherUserid>"); await _slursCommands.Flame(_command); _slack.Verify(slack => slack.BroadcastMessage(It.IsRegex("<@otherUserid>"), Channel)); }
public async Task GivenASlurWithUserMention_WhenFlaming_UserIsMentioned() { await _slursCommands.Flame(_command); _slack.Verify(slack => slack.BroadcastMessage(It.IsRegex("<@otherUserid>"), Channel)); }