MethodEndpoint { public String toString() { return method.toGenericString(); } MethodEndpoint(Object bean, Method method);  MethodEndpoint(Object bean, String methodName, Class<?>... parameterTypes);  MethodEndpoint(String beanName, BeanFactory beanFactory, Method method); Object getBean(); Method getMethod(); MethodParameter[] getMethodParameters(); MethodParameter getReturnType(); Object invoke(Object... args); boolean equals(Object o); int hashCode(); String toString();  }
@Test public void testToString() throws Exception { Assert.assertNotNull("No valid toString", endpoint.toString()); }