protected DefaultParameterMappingStrategy strategy = new DefaultParameterMappingStrategy();
protected ExampleBean bean = new ExampleBean();
protected BeanInfo info;
public void testFindsSingleMethodMatchingBody() throws Throwable {
MethodInvocation invocation = info.createInvocation(bean, exchange);
assertNotNull("Should have found a method invocation!", invocation);
AtomicBoolean sync = new AtomicBoolean(true);
Object value = invocation.proceed(new AsyncCallback() {
public void done(boolean doneSync) {
// nnop
}
}, sync);