public SendNotificationEmail ( int userIds, IEventInfo eventInfo ) : void | ||
userIds | int | |
eventInfo | IEventInfo | |
return | void |
public void NotificationServiceSendsEmail() { try { //arrange var mailer = new Mailer(new MailerSettings(), _notificationEmailDescriberMock.Object); //act mailer.SendNotificationEmail(new MailAddress("*****@*****.**"), new NewEmailConfirmedDeveloper(42)); } catch (Exception ex) { Assert.Fail("Expected no exception, but got: " + ex.Message); } }