public static long invokeAndReturnLong(Method method, Object targetObj) {
        try {
            return method != null ? (long) method.invoke(targetObj) : -1;
        } catch (Exception e) {
            return -1;
        }
    }
@Test
    void invokeAndReturnLong() {
        InternalMethod internalMethod = new InternalMethod();
        assertEquals(100L, MethodUtil.invokeAndReturnLong(LONG_METHOD, internalMethod));
        assertNotEquals(100L, MethodUtil.invokeAndReturnLong(DOUBLE_METHOD, internalMethod));
    }