40.4.2 EnvironmentTestUtils

使用简单的key=value字符串调用EnvironmentTestUtils就可以快速添加属性到ConfigurableEnvironmentConfigurableApplicationContext


EnvironmentTestUtils.addEnvironment(env, "org=Spring", "name=Boot");