### Question:
ConfigurationHelper { public Configuration fromSystem() { MapConfiguration mapConfig = setupConfiguration(new MapConfiguration((Properties) System.getProperties().clone())); mapConfig.setTrimmingDisabled(true); return mapConfig; }  Configuration fromFile(String path); Configuration fromFile(File path); Configuration fromFile(URL path); Configuration fromSystem(); CombinedConfiguration createCombinedConfiguration(
      @Nullable List<ConfigurationInfo<String>> paths,
      @Nullable List<ConfigurationInfo<URL>> urls); static List<ConfigurationInfo<T>> newList(@Nullable List<T> locations,
      final boolean isOptional); static List<ConfigurationInfo<T>> newList(boolean isOptional, T location);  }### Answer:
@Test public void testFromSystem() throws Exception { test3Properties.forEach(System::setProperty); assertContains(test3Properties, configurationHelper.fromSystem()); }
@Test public void testFromSystem_containsListValues() throws Exception { AbstractConfiguration.setDefaultListDelimiter('|'); Map<String, String> properties = Maps.newHashMap(); properties.put("testProperty", "b,bee"); properties.forEach(System::setProperty); Splitter splitter = Splitter.on(','); Configuration systemConfiguration = configurationHelper.fromSystem(); for (Entry<String, String> entry : properties.entrySet()) { String[] actualValues = systemConfiguration.getStringArray(entry.getKey()); String[] expectedValues; if ("line.separator".equals(entry.getKey())) { expectedValues = new String[] {SystemUtils.LINE_SEPARATOR}; } else { expectedValues = splitter.splitToList(entry.getValue()).toArray(new String[0]); } assertArrayEquals(String.format("Values for key %s do not match", entry.getKey()), expectedValues, actualValues); } }