/**
* For tests that assume the container manager is started.
*/
private void startContainerManager() {
//init with no processes in cache; use mock cache to start correctly
EasyMock.expect(mockProcessCache.getKeys()).andReturn(Collections.EMPTY_LIST);
EasyMock.replay(mockProcessCache);
((JmsContainerManagerImpl) jmsContainerManager).init();
((SmartLifecycle) jmsContainerManager).start();
EasyMock.reset(mockProcessCache);
}
JmsContainerManagerTest.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:c2mon
作者:
评论列表
文章目录