}
public void testExplicitMethodMatchSetArrayFail() throws Exception
{
ReflectionEntryPointResolver resolver = new ReflectionEntryPointResolver();
InvocationResult result = resolver.invoke(new FruitBowl(), getTestEventContext(new Fruit[]{new Apple(), new Orange()}));
assertEquals("Test should have failed because the arguments were not wrapped properly: ",
result.getState(), InvocationResult.State.FAILED);
}