public async Task GiveValidNameAndLoginUserNOTJoinedAnyConversation_ShouldRaiseEmptyResult()
        {
            var sut = new GetConversationsByNameQueryHandler(_context, _mapper);

            var command = new GetConversationsByNameQuery()
            {
                ConversationName = validKeyword,
                LoginUserId      = Guid.NewGuid()
            };

            var result = await sut.Handle(command, CancellationToken.None);

            result.ShouldBeEmpty();
        }
        public async Task GiveValidNameAndLoginUserJoinedConversation_ShouldRaiseConversationWithNameContainKeyword()
        {
            var sut = new GetConversationsByNameQueryHandler(_context, _mapper);

            var command = new GetConversationsByNameQuery()
            {
                ConversationName = validKeyword,
                LoginUserId      = Guid.Parse(_currentUserServiceMock.Object.UserId)
            };

            var result = await sut.Handle(command, CancellationToken.None);

            result.ShouldNotBeEmpty();
            foreach (var con in result)
            {
                con.Name.ShouldContain(validKeyword);
                con.Members.ShouldContain(x => x.UserId == Guid.Parse(_currentUserServiceMock.Object.UserId));
            }
        }