public void AppendNotificationMessagesTest() { Notification notification2 = new Notification(); notification2.AddError("nay"); notification2.AddSuccess("yay"); notification.AppendNotificationMessages(notification2); Assert.IsTrue(notification2.ErrorMessage() == "nay" && notification2.SuccessMessage() == "yay"); }
public void AddSuccessTest() { notification.AddSuccess(success); CollectionAssert.Contains(notification.Success, success); }