public static Object[] array(final Object item, final int length) {
        Object[] array = new Object[length];
        Arrays.fill(array, item);
        return array;
    }
Generate array.

@param item   item
@param length the length of array
@return array
shenyu-plugin/shenyu-plugin-mock/src/main/java/org/apache/shenyu/plugin/mock/util/MockUtil.java