public void load(final Class<?>[] configuration, final String... inlinedProperties) {
        TestPropertySourceUtils.addInlinedPropertiesToEnvironment(this.context, inlinedProperties);
        this.context.register(configuration);
        this.context.refresh();
    }
Add properties to Environment and register configuration into spring context.

@param configuration the configuration class array
@param inlinedProperties the config properties
shenyu-admin-listener/shenyu-admin-listener-nacos/src/test/java/org/apache/shenyu/admin/config/properties/AbstractConfigurationTest.java