public void testMethodSetWithNoArgsPass() throws Exception
{
MuleEventContext ctx = getTestEventContext(NullPayload.getInstance());
ctx.getMessage().setProperty("method", "wash", PropertyScope.INBOUND);
InvocationResult result = resolver.invoke(new Apple(), ctx);
assertInvocationWasSuccessful(result);
assertEquals("wash", result.getMethodCalled());
}