Service service = new Service("directCallService", serviceBean, new Version("1.0.0"),
Collections.singletonList("concat"));
Method method = serviceBean.getClass().getMethod("concat", String.class, String.class);
Object[] parameters = {"p1", "p2"};
Operation opDescriptor = new Operation("concat", service, method, parameters);
Object result = dispatcher.execute(new Request(), opDescriptor);
assertEquals("p1p2", result);
assertTrue(invokeDirectCalled.get());
}