### Question:
ConfigurationPropertyValidator { public static List<String> parseListProperty(String property) { List<String> items = new ArrayList<>(); int startIndex = 0; for (int endIndex = 0; endIndex < property.length(); endIndex++) { if (property.charAt(endIndex) == ',') { items.add(property.substring(startIndex, endIndex)); startIndex = endIndex + 1; } else if (property.charAt(endIndex) == '\\') { endIndex++; } } items.add(property.substring(startIndex)); return items; } private  ConfigurationPropertyValidator(); static Optional<Credential> getImageCredential(
      Consumer<LogEvent> logger,
      String usernameProperty,
      String passwordProperty,
      AuthProperty auth,
      RawConfiguration rawConfiguration); static ImageReference getGeneratedTargetDockerTag(
      @Nullable String targetImage,
      ProjectProperties projectProperties,
      HelpfulSuggestions helpfulSuggestions); static Map<String, String> parseMapProperty(String property); static List<String> parseListProperty(String property);  }### Answer:
@Test public void testParseListProperty() { Assert.assertEquals( ImmutableList.of("abc"), ConfigurationPropertyValidator.parseListProperty("abc")); Assert.assertEquals( ImmutableList.of("abcd", "efg\\,hi\\\\", "", "\\jkl\\,", "\\\\\\,mnop", ""), ConfigurationPropertyValidator.parseListProperty( "abcd,efg\\,hi\\\\,,\\jkl\\,,\\\\\\,mnop,")); Assert.assertEquals(ImmutableList.of(""), ConfigurationPropertyValidator.parseListProperty("")); }