2014年3月5日
摘要: 在实际项目开发中经常会有单元测试,单元测试中经常会用类似这样的代码片段获取spring管理的bean@Testpublic void testSendEmail(){ MessageService messageService = (MessageService) BeanFactory.getI... 阅读全文
posted @ 2014-03-05 17:22 程序那些事 阅读(14420) 评论(0) 推荐(0) 编辑
http://www.cnblogs.com/weiguo21/p/5191887.html