Exemplo n.º 1
0
        public void AppendNotificationMessagesTest()
        {
            Notification notification2 = new Notification();

            notification2.AddError("nay");
            notification2.AddSuccess("yay");
            notification.AppendNotificationMessages(notification2);
            Assert.IsTrue(notification2.ErrorMessage() == "nay" && notification2.SuccessMessage() == "yay");
        }
Exemplo n.º 2
0
 public void AddSuccessTest()
 {
     notification.AddSuccess(success);
     CollectionAssert.Contains(notification.Success, success);
 }