new BundleContextMock("contextMock", expectations);
final MockFactory mockFactory = MockFactory.getDefaultInstance();
final Method registerServiceMethod = BundleContext.class.getMethod(
"registerService",
new Class[]{String.class, Object.class, Dictionary.class});
final MethodIdentifier identifier =
MethodIdentifier.getMethodIdentifier(registerServiceMethod);
contextMock.fuzzy.registerService(
identifier,
EventHandler.class.getName(),
mockFactory.expectsInstanceOf(ReportEventHandler.class),