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());
XLinkConnectorManagerImpl serviceManager = new XLinkConnectorManagerImpl();
serviceManager.setRegistrationManager(registrationManager);