AnnotatedEntryPointResolver resolver = new AnnotatedEntryPointResolver();
Enhancer e = new Enhancer();
e.setSuperclass(AnnotatedComponent2.class);
e.setCallback(new DummyMethodCallback());
Object proxy = e.create();
MuleEventContext context = getTestEventContext(TEST_PAYLOAD);
context.getMessage().setProperty(MuleProperties.MULE_METHOD_PROPERTY, "doSomething", PropertyScope.INVOCATION);
InvocationResult result = resolver.invoke(proxy, context);
assertEquals(result.getState(), InvocationResult.State.NOT_SUPPORTED);