@Test
public void getAllMethodsOfClass() {

    assertNull(ReflectionUtil.getAllMethodsOfClass(null));
    Method[] methods = ReflectionUtil.getAllMethodsOfClass(MLet.class);
    assertTrue(methods.length > 0);
    Method equalsMethod = ReflectionUtil.getMethod(Object.class, "equals", Object.class);
    assertTrue(methods.length > 0);
    List<Method> methodList = Arrays.asList(methods);
    assertFalse(methodList.contains(equalsMethod));
    List<Class<?>> list = ClassUtil.getAllInterfaces(MLet.class);
    int interMethodLength = 0;
    for (Class<?> clazz : list) {
        Method[] interMethods = ReflectionUtil.getAllMethodsOfClass(clazz);
        interMethodLength += interMethods.length;
    }
    assertTrue(methods.length > interMethodLength);
}