/**
* Created by dell on 2017/10/11.
*/
@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration//必须
@ContextConfiguration(locations = {"classpath:/spring-mvc.xml", "classpath:/spring-config.xml"})
public class TestService {
@Resource
private CommonViewService commonViewService;
@Test
public void test1() {
List<EntityVAgeGroup> list = commonViewService.getAgeGroup();
System.out.println(list.toString());
}
}