125126127128129130131132133134135
// configure bootstrap bootstrapMock.reset(); bootstrap.init(null); bootstrapMock.setMatcher(MockControl.ALWAYS_MATCHER); bootstrap.onInstall(); bootstrap.getExtensionMBeanName(); bootstrapMock.setReturnValue(null); bootstrap.cleanUp(); bootstrapMock.replay(); // configure component
208209210211212213214215216217218
323324325326327328329330331332333
392393394395396397398399400401402
433434435436437438439440441442443
bootstrapMock.reset(); bootstrap.init(null); bootstrapMock.setMatcher(MockControl.ALWAYS_MATCHER); bootstrap.getExtensionMBeanName(); bootstrapMock.setReturnValue(null); bootstrap.onInstall(); bootstrap.cleanUp(); bootstrapMock.replay(); // configure component componentMock.reset(); componentMock.replay();