}
private ConnectorManagerImpl createServiceManagerMock() {
ConnectorManagerImpl serviceManagerImpl = new ConnectorManagerImpl();
ConnectorRegistrationManager registrationManager = new ConnectorRegistrationManager(bundleContext,
mock(TransformationEngine.class), new ForwardMethodInterceptor(), new SecurityAttributeProviderImpl());
serviceUtils = new DefaultOsgiUtilsService(bundleContext);
serviceManagerImpl.setRegistrationManager(registrationManager);
serviceManagerImpl.setConfigPersistence(configPersistence);
serviceManager = serviceManagerImpl;
return serviceManagerImpl;