@Test
public void testAddItemsToList() throws Exception {

    List<String> stringCollection = new ArrayList<>();
    String list = "a,b,C";
    String collectionDescription = "First 3 letters of the alphabet";
    Misc.addItemsToList(stringCollection, list, collectionDescription, true);
    ArrayList<String> arrayList = new ArrayList<>();
    arrayList.add("a");
    arrayList.add("b");
    arrayList.add("c");
    assertTrue(stringCollection.size() == 3);
    assertEquals("c", stringCollection.get(stringCollection.size() - 1));
}