@Test void listToStringShouldThrowWhenListIsNull() { assertThatThrownBy(() -> StringUtils.listToString(null)) .isInstanceOf(NullPointerException.class); }
public static String listToString(List<String> strings) { return Arrays.toString(Iterables.toArray(strings, String.class)); }
StringUtils { public static String listToString(List<String> strings) { return Arrays.toString(Iterables.toArray(strings, String.class)); } }
StringUtils { public static String listToString(List<String> strings) { return Arrays.toString(Iterables.toArray(strings, String.class)); } private  StringUtils(); }
StringUtils { public static String listToString(List<String> strings) { return Arrays.toString(Iterables.toArray(strings, String.class)); } private  StringUtils(); static String[] split(String text, String pattern); static String listToString(List<String> strings); }
StringUtils { public static String listToString(List<String> strings) { return Arrays.toString(Iterables.toArray(strings, String.class)); } private  StringUtils(); static String[] split(String text, String pattern); static String listToString(List<String> strings);  }