package com.gjz;

import com.gjz.dao.BookDao;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class Springboot05MybatisApplicationTests {

	@Autowired
	private BookDao bookDao;
	@Test
	void contextLoads() {
		System.out.println(bookDao);
		System.out.println(bookDao.getById(1));
	}

}
