### Question:
MethodUtil { public static String generateMethodSignatureByMethod(Class<?> clazz, Method method) { return generateMethodSignature(clazz, method.getName(), method.getParameterTypes()); }  static String generateMethodSignatureByMethod(Class<?> clazz, Method method); static String generateMethodSignature(Class<?> clazz, String methodName, Class<?>[] parameterTypes); static String generateMethodSignatureNoIfacePrefix(Method method); static Object getDefaultResult(Class<?> returnType);  }### Answer:
@Test public void testGenerateMethodSignatureByMethod() { Method[] method = MethodUtilTest.class.getMethods(); String methodSign = MethodUtil.generateMethodSignatureByMethod(this.getClass(), method[0]); Assert.assertTrue("com.meituan.dorado.util.MethodUtilTest:testGenerateMethodSignatureByMethod()".equals(methodSign)); }