Пример #1
0
        public void VMNotificator_AddNotification_Must_Add_Notification_By_String()
        {
            //Arrange
            var notificationMessage = "Notification Message";
            var notificationCode    = "001";

            //Act
            _notificator.AddNotification(notificationMessage, notificationCode);

            //Assert
            var result = _notificator.GetNotifications();

            result.Should().Contain(new Notification(notificationMessage, notificationCode));
        }