final String methodName = "setFruit";
final String propertyName = MuleProperties.MULE_METHOD_PROPERTY;
RequestContext.getEventContext().getMessage().setOutboundProperty(propertyName, methodName);
FruitBowl bowl = new FruitBowl();
assertFalse(bowl.hasApple());
assertFalse(bowl.hasBanana());
resolverSet.invoke(bowl, RequestContext.getEventContext());
assertTrue(bowl.hasApple());
assertTrue(bowl.hasBanana());
}