### Question:
DubboUtils { public static SortedMap<String, Object> filterDubboProperties(ConfigurableEnvironment environment) { SortedMap<String, Object> dubboProperties = new TreeMap<>(); Map<String, Object> properties = EnvironmentUtils.extractProperties(environment); for (Map.Entry<String, Object> entry : properties.entrySet()) { String propertyName = entry.getKey(); if (propertyName.startsWith(DUBBO_PREFIX + PROPERTY_NAME_SEPARATOR) && entry.getValue() != null) { dubboProperties.put(propertyName, environment.resolvePlaceholders(entry.getValue().toString())); } } return Collections.unmodifiableSortedMap(dubboProperties); }  static SortedMap<String, Object> filterDubboProperties(ConfigurableEnvironment environment); static final String LINE_SEPARATOR; static final String PROPERTY_NAME_SEPARATOR; static final String DUBBO_PREFIX; static final String DUBBO_SCAN_PREFIX; static final String DUBBO_CONFIG_PREFIX; static final String BASE_PACKAGES_PROPERTY_NAME; static final String MULTIPLE_CONFIG_PROPERTY_NAME; static final boolean DEFAULT_MULTIPLE_CONFIG_PROPERTY_VALUE; static final String OVERRIDE_CONFIG_FULL_PROPERTY_NAME; static final boolean DEFAULT_OVERRIDE_CONFIG_PROPERTY_VALUE; static final String DUBBO_SPRING_BOOT_GITHUB_URL; static final String DUBBO_SPRING_BOOT_GIT_URL; static final String DUBBO_SPRING_BOOT_ISSUES_URL; static final String DUBBO_GITHUB_URL; static final String DUBBO_MAILING_LIST; static final String RELAXED_DUBBO_CONFIG_BINDER_BEAN_NAME; static final String BASE_PACKAGES_PROPERTY_RESOLVER_BEAN_NAME; static final String SPRING_APPLICATION_NAME_PROPERTY; static final String DUBBO_APPLICATION_ID_PROPERTY; static final String DUBBO_APPLICATION_NAME_PROPERTY; static final String DUBBO_APPLICATION_QOS_ENABLE_PROPERTY; static final String DUBBO_CONFIG_MULTIPLE_PROPERTY; }### Answer:
@Test public void testFilterDubboProperties() { MockEnvironment environment = new MockEnvironment(); environment.setProperty("message", "Hello,World"); environment.setProperty(DUBBO_CONFIG_PREFIX + MULTIPLE_CONFIG_PROPERTY_NAME, "true"); environment.setProperty(OVERRIDE_CONFIG_FULL_PROPERTY_NAME, "true"); SortedMap<String, Object> dubboProperties = filterDubboProperties(environment); Assert.assertEquals("true", dubboProperties.get(DUBBO_CONFIG_PREFIX + MULTIPLE_CONFIG_PROPERTY_NAME)); Assert.assertEquals("true", dubboProperties.get(OVERRIDE_CONFIG_FULL_PROPERTY_NAME)); }