Пример #1
0
        public void DismissNotifications_NoNotifications_ShouldReturnNotFound()
        {
            List <UserNotification> list = new List <UserNotification>();

            _mockRepo.Setup(r => r.GetUnreadUserNotifications(_userId)).Returns(list);

            var res = _controller.DismissNotifications();

            res.Should().BeOfType <NotFoundResult>();
        }