在JUnit单元测试中获取bean

1、使用注解@Autowired注入beanjava package test; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.spri
相关文章
相关标签/搜索