test for CachingMethodResolver, renamed IMethodResolver