// those are usually set on the endpoint and copied over to the message
final String methodName = "nosuchmethod";
final String propertyName = MuleProperties.MULE_METHOD_PROPERTY;
RequestContext.getEventContext().getMessage().setOutboundProperty(propertyName, methodName);
resolverSet.invoke(new FruitBowl(), RequestContext.getEventContext());
// fail("Should have failed to find an entrypoint.");
}
/**
* If there was a method parameter specified to override the discovery mechanism