public void Should_Update_Email_Second() { NotificationEmail notificationEmail = new NotificationEmail(cr, currentEmail, title, content, notificationSettingId, link, key); notificationEmail.Update(title, content); Assert.Equal(title, notificationEmail.Title); }
public void Should_Update_Email() { NotificationEmail notificationEmail = new NotificationEmail(cr, currentEmail, title, content, notificationSettingId, link, key); notificationEmail.Update(NotifacationStatus.Send); Assert.Equal((int)NotifacationStatus.Send, notificationEmail.NotifacationStatusId); }