public static <T> void assertEquals(T l, T r) {
        List<Class<?>> argTypes = List.of(Object.class, Object.class);
        List<Object> argValues = List.of(l, r);
        invokeAssert("assertEquals", argTypes, argValues, argTypes, argValues);
    }
Hack to support both junit4 and junit5

@author bjorncs
testutil/src/main/java/com/yahoo/test/JunitCompat.java