public static void setFieldValue(final Object obj, final String fieldName, final Object value) {
        Field field = getAccessibleField(obj, fieldName);
        if (Objects.isNull(field)) {
            throw new IllegalArgumentException("Could not find field [" + fieldName + "] on target [" + obj + "]");
        }
        try {
            field.set(obj, value);
        } catch (IllegalAccessException e) {
            LOG.error("Failed to assign to the element.", e);
            throw new ShenyuException(e.getMessage());
        }
    }
@Test
    public void testSetFieldValue() {
        final Reflect reflect = new Reflect();
        ReflectUtils.setFieldValue(reflect, "a", "2");
        assertEquals("2", ReflectUtils.getFieldValue(reflect, "a"));
    }