DomainProvider domainProvider = (DomainProvider) invocation.getArguments()[0];
return new DummyVirtualConnectorFactory(domainProvider);
}
});
when(virtualConnectorProvider.getId()).thenReturn("virtual-test-connector");
pseudoConnectorManager = new VirtualConnectorManager(bundleContext);
}