private OutgoingPortUtilService callrouter;
private ProxyConnectorRegistryImpl connectorRegistry;
@Before
public void setUp() throws Exception {
serviceUtils = new DefaultOsgiUtilsService(bundleContext);
createDomainProviderMock(NullDomain.class, "test");
createFactoryMock("testc", NullDomainImpl.class, "test");
callrouter = mock(OutgoingPortUtilService.class);
MethodResult result = MethodResult.newVoidResult();
when(callrouter.sendMethodCallWithResult(anyString(), anyString(), any(MethodCall.class))).thenReturn(result);