@Test
public void should_convert_list_to_string() {

    List<String> items = new ArrayList<>();
    items.add("Language1");
    items.add("Language2");
    String result = Utils.toStringResult(items);
    assertThat(result, is("Language1, Language2"));
    items = null;
    result = Utils.toStringResult(items);
    assertThat(result, is(""));
    items = new ArrayList<>();
    result = Utils.toStringResult(items);
    assertThat(result, is(""));
}