/*如果要测试类的头部一定要加上这两个注解*/ @RunWith(SpringRunner.class) @ContextConfiguration(locations = {"classpath:spring/spring-dao.xml", "classpath:spring/spring-service.xml"})
/*如果要测试类的头部一定要加上这两个注解*/ @RunWith(SpringRunner.class) @ContextConfiguration(locations = {"classpath:spring/spring-dao.xml", "classpath:spring/spring-service.xml"})