contextCurrentService = mock(ContextCurrentService.class);
context.putBean("contextCurrentService", contextCurrentService);
context.putBean("openengsbVersion", new OpenEngSBFallbackVersion());
List<OpenEngSBVersionService> versionService = new ArrayList<OpenEngSBVersionService>();
context.putBean("openengsbVersionService", versionService);
DefaultWiringService defaultWiringService = new DefaultWiringService();
defaultWiringService.setBundleContext(bundleContext);
context.putBean("wiringService", defaultWiringService);
serviceUtils = new DefaultOsgiUtilsService(bundleContext);
context.putBean("osgiUtilsService", serviceUtils);
ConnectorRegistrationManager registrationManager = new ConnectorRegistrationManager(bundleContext,
mock(TransformationEngine.class), new ForwardMethodInterceptor(), new SecurityAttributeProviderImpl());