DefaultMethodEndpointAdapter extends AbstractMethodEndpointAdapter implements BeanClassLoaderAware, InitializingBean { protected void initDefaultStrategies() { initMethodArgumentResolvers(); initMethodReturnValueHandlers(); }  List<MethodArgumentResolver> getMethodArgumentResolvers(); void setMethodArgumentResolvers(List<MethodArgumentResolver> methodArgumentResolvers); List<MethodArgumentResolver> getCustomMethodArgumentResolvers(); void setCustomMethodArgumentResolvers(List<MethodArgumentResolver> customMethodArgumentResolvers); List<MethodReturnValueHandler> getMethodReturnValueHandlers(); void setMethodReturnValueHandlers(List<MethodReturnValueHandler> methodReturnValueHandlers); List<MethodReturnValueHandler> getCustomMethodReturnValueHandlers(); void setCustomMethodReturnValueHandlers(List<MethodReturnValueHandler> customMethodReturnValueHandlers); @Override void setBeanClassLoader(ClassLoader classLoader); @Override void afterPropertiesSet();  }
@Test public void initDefaultStrategies() throws Exception { adapter = new DefaultMethodEndpointAdapter(); adapter.setBeanClassLoader(DefaultMethodEndpointAdapterTest.class.getClassLoader()); adapter.afterPropertiesSet(); assertFalse("No default MethodArgumentResolvers loaded", adapter.getMethodArgumentResolvers().isEmpty()); assertFalse("No default MethodReturnValueHandlers loaded", adapter.getMethodReturnValueHandlers().isEmpty()); }