private ConnectorRegistrationManager connectorRegistrationManager;
private ConnectorInstanceFactory connectorInstanceFactory;
@Before
public void setUp() throws Exception {
DefaultOsgiUtilsService defaultOsgiUtilsService = new DefaultOsgiUtilsService();
defaultOsgiUtilsService.setBundleContext(bundleContext);
connectorRegistrationManager = new ConnectorRegistrationManager(bundleContext,
mock(TransformationEngine.class), new ForwardMethodInterceptor(), new SecurityAttributeProviderImpl());
connectorInstanceFactory = mock(ConnectorInstanceFactory.class);
Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put("connector", "a");