assertEquals(result.getState(), InvocationResult.State.SUCCESSFUL);
}
public void testDynamicMethodMatchFailOnWildcardMatch() throws Exception
{
AbstractArgumentEntryPointResolver resolver = new NoArgumentsEntryPointResolver();
assertTrue(resolver.removeIgnoredMethod("is*"));
InvocationResult result = resolver.invoke(new InvalidSatsuma(), getTestEventContext("blah"));
assertEquals("Satsuma service has a number of matching method, so should have failed",
result.getState(), InvocationResult.State.FAILED);
}