Esempio n. 1
0
        private string GetCurrentMessage()
        {
            var notification = _notificationProvider.GetCurrent();

            if (notification != null)
            {
                return(notification.CurrentMessage);
            }

            return(string.Empty);
        }
Esempio n. 2
0
 public void current_notification_should_return_null_at_start()
 {
     _notificationProvider.GetCurrent().Should().BeNull();
 }