springboot单元测试配置类
//配置类@Configuration@ComponentScan(basePackages = "com.yinhai.fwtxgl.test1")public class SysConfig { @Bean("testService") public TestService testService(){ System.out.println("配置类@bean给容器中添加组件了"); retu