public void SendBlindSpotMail_ReturnsVoid() { var emailRequest = new EmailRequest { coworkers = new List <string> { "*****@*****.**" } }; _mockEmailAdapter.Setup(x => x.GetEmailTemplates(It.IsAny <string>())).Returns( new EmailTemplate { body = "", footer = "", headerprefix = "", subject = "", type = "blindspot" }); Assert.DoesNotThrow(() => _emailBusinessLogic.SendBlindSpotMail(emailRequest)); }
public void sendBlindSpotMail([FromBody] EmailRequest emailRequest) { _emailServiceBusinessLogic.SendBlindSpotMail(emailRequest); }