@Test
public void testCallByFilterAndServiceIdWithCustomMarshaller_shouldCallService() throws Exception {

    Map<String, Object> propData =
        ImmutableMap.of("testprop", (Object) new String[]{ "blub", "bleh", }, Constants.SERVICE_PID, "xxx");
    TestInterface realObject = new TestInterface() {
        @Override
        public Integer test(@UseCustomJasonMarshaller(CustomMarshaller.class) Integer arg) {
            return arg;
        }
    };
    registerServiceWithProps(realObject, propData);
    Map<String, String> metaData = ImmutableMap.of("serviceFilter", "(testprop=blub)", "serviceId", "xxx");
    MethodCall c = new MethodCall("test", new Object[]{ 42 }, metaData);
    MethodResult result = requestHandler.handleCall(c);
    assertThat(result.getClassName(), is(Integer.class.getName()));
    assertThat((Integer) result.getArg(), is(43));
}