private Object defaultValue(final Class<?> clazz) throws IllegalAccessException, InstantiationException {
        final Object obj = DEFAULT_MAPPERS.get(clazz);
        if (Objects.nonNull(obj)) {
            return obj;
        }

        return clazz.newInstance();
    }
Test getter and setter method by reflect.

@throws Exception maybe throw reflect Exception.
shenyu-admin/src/test/java/org/apache/shenyu/admin/AbstractReflectGetterSetterTest.java