@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({"file:src/main/webapp/WEB-INF/applicationContext.xml"})
public class SuFriendServiceImplOverRMITest {
@Autowired
private SuFriendService suFriendService;
@Test
public void getUserFollowerListTest(){
List<String> list = suFriendService.getUserFollowerList("[email protected]");
System.out.println("------"+list);
}
}
juint测试 加载配置文件
猜你喜欢
转载自849058520.iteye.com/blog/2246925
今日推荐
周排行