package com.cesgroup;

import com.cesgroup.mapper.ArticleMapper;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@RunWith(SpringRunner.class)
@SpringBootTest
class SpringbootMybatisApplicationTests {

	@Resource
	private ArticleMapper mapper;

	@Test
	void contextLoads() {
		mapper.queryAll(1);
	}

}
