40.4.2 EnvironmentTestUtils

使用简单的key=value字符串调用EnvironmentTestUtils就可以快速添加属性到ConfigurableEnvironmentConfigurableApplicationContext: ```java EnvironmentTestUtils.addEnvironment(env, "org=Spring", "name=Boot");

results matching ""

    No results matching ""