registerServiceViaId(mock2, "test", TestInterface.class);
when(mock2.method(anyString(), anyInt(), any(TestClass.class))).thenReturn(new TestClass("test"));
Map<String, String> metaData = Maps.newHashMap(ImmutableMap.of("serviceId", "test"));
MethodCall methodCall = new MethodCall("method", new Object[]{ "123", 5, new TestClass("test"), }, metaData);
call = new MethodCallMessage(methodCall, "123");
call.setDestination("host?receive");
MethodResult result = new MethodResult(new TestClass("test"));
result.setMetaData(metaData);
methodReturn = new MethodResultMessage(result, "123");