예제 #1
0
        public void VMNotificator_ClearNotifications_Must_Remove_Errors()
        {
            //Arrange
            var notification = new Notification("Notification Message", "001");

            _notificator.AddError(notification);

            //Act
            _notificator.ClearErrors();

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

            result.Should().BeEmpty();
        }