public void GetAllSmsNotifications_NotificationsInDb_Enumeration()
        {
            mockUnitOfWork.Setup(m => m.EmailCampaignNotifications.Get(It
                                                                       .IsAny <Expression <Func <EmailCampaignNotification, bool> > >()
                                                                       , It.IsAny <Func <IQueryable <EmailCampaignNotification>,
                                                                                         IOrderedQueryable <EmailCampaignNotification> > >(), It.IsAny <string>()))
            .Returns(new List <EmailCampaignNotification>
            {
                new EmailCampaignNotification {
                    Type            = NotificationType.Sms
                    , EmailCampaign = new EmailCampaign {
                        SendingTime = DateTime.Now
                    }
                },
            });

            mockMapper.Setup(m => m.Map <IEnumerable <EmailCampaignNotification>
                                         , IEnumerable <SmsNotificationDTO> >(It.IsAny <IEnumerable <EmailCampaignNotification> >()))
            .Returns(new List <SmsNotificationDTO> {
                new SmsNotificationDTO()
            });

            mockBaseHandler.Setup(m => m.GetAllSmsNotifications()).Returns(new List <SmsNotificationDTO>());

            var result = handler.GetAllSmsNotifications();

            Assert.That(result.Any());
        }
        /// <summary>
        /// Gets all not sent personal and campaign SMS notifications with valid time
        /// </summary>
        /// <returns>SMS messages</returns>
        public IEnumerable <SmsNotificationDTO> GetAllSmsNotifications()
        {
            var result = handler.GetAllSmsNotifications();

            return(result);
        }