@Test
public void testListToCsv() {

    List<String> stringList = new ArrayList<>();
    stringList.add("one");
    stringList.add("two");
    assertThat(StringUtil.listToCsv(stringList), is("one,two"));
}