Create test for HelpSyntaxHelperTest

This commit is contained in:
ljacqu
2015-11-21 11:16:31 +01:00
parent 58dc15123c
commit a3f24bcb9a
5 changed files with 164 additions and 25 deletions
@@ -37,25 +37,6 @@ public class ListUtils {
return sb.toString();
}
/**
* Implode two lists of elements into a single string, with a specified separator.
*
* @param elements The first list of elements to implode.
* @param otherElements The second list of elements to implode.
* @param separator The separator to use.
*
* @return The result string. */
public static String implode(List<String> elements, List<String> otherElements, String separator) {
// Combine the lists
List<String> combined = new ArrayList<>();
combined.addAll(elements);
combined.addAll(otherElements);
// Implode and return the result
return implode(combined, separator);
}
/**
* Implode two elements into a single string, with a specified separator.
*