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);
DummyConfigPersistenceService<String> backend = new DummyConfigPersistenceService<String>();