package io.geekidea.springbootplus.test;

import com.wecloud.im.entity.ImConversation;
import com.wecloud.im.mapper.ImConversationMapper;
import com.wecloud.im.vo.ConversationVo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

/**
 * imConversation 单元测试
 */
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest
public class ImConversationTest {

    @Autowired
    private ImConversationMapper imConversationMapper;

    @Test
    public void listConversation() {
        List<ConversationVo> myImConversationList = imConversationMapper.getMyImConversationListAndMsgCount(1394579719625773056L,"",  null);


        List<ImConversation> myImConversationList1 = imConversationMapper.getMyImConversationList(1394579719625773056L);
    }
}
