package com.mx.cneeds.server.user.dao;

import com.mx.cneeds.server.dao.SysUserDao;
import junit.framework.TestCase;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @ClassName SysUserDaoTest
 * @Author zzrdark
 * @Date 2020-08-04 17:10
 * @Description TODO
 **/
@SpringBootTest
@RunWith(SpringRunner.class)
@MapperScan("com.mx.cneeds.server.dao")
public class SysUserDaoTest extends TestCase {

    @Autowired
    private SysUserDao sysUserDao;

    @Test
    public void testSelectById() {
        System.out.println(sysUserDao.hashCode());
        System.out.println(1111);
    }
}
