JmsContainerManagerTest.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:c2mon 作者:
/**
 * 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);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号