public static String getCanonicalName(Class cls) {
        Objects.requireNonNull(cls, "cls");
        return cls.getCanonicalName();
    }
@Test
    public void getCanonicalNameTest() {
        final String canonicalName = ClassUtil.getCanonicalName(TestClass.class);
        Assert.isTrue(Objects.equals("cn.hippo4j.config.toolkit.ClassUtilTest.TestClass", canonicalName));
    }