public async Task GiveInvalidNotificationId_ShouldRaiseNotFoundError()
        {
            // Login user
            _currentUserServiceMock.Setup(m => m.UserId)
            .Returns(userId1.ToString());

            var sut = new ReadNotificationCommandHandler(_context, _currentUserServiceMock.Object);

            var command = new ReadNotificationCommand()
            {
                NotificationId = Guid.NewGuid()
            };

            await Should.ThrowAsync <NotFoundException>(() =>
                                                        sut.Handle(command, CancellationToken.None));
        }
        public async Task GiveValidNotificationId_ShouldSetNotificationToReadStatus()
        {
            // Login user
            _currentUserServiceMock.Setup(m => m.UserId)
            .Returns(userId1.ToString());

            var sut = new ReadNotificationCommandHandler(_context, _currentUserServiceMock.Object);

            var command = new ReadNotificationCommand()
            {
                NotificationId = notificationIdUnread
            };

            await sut.Handle(command, CancellationToken.None);

            var entity = _context.Notifications.Find(notificationIdUnread);

            entity.isRead.ShouldBeTrue();
        }