@Test
public void testReadFromString() {

    // Test null String
    stringList.readFromString(null);
    assertEquals(0, stringList.size());
    // Test empty String
    stringList.readFromString("");
    assertEquals(0, stringList.size());
    // Test String containing just one element
    stringList.readFromString(STRING_1_ELEMENT);
    assertEquals(1, stringList.size());
    assertEquals(STRING_A1, stringList.get(0));
    // Test String containing two elements
    stringList.readFromString(STRING_2_ELEMENTS);
    assertEquals(2, stringList.size());
    assertEquals(STRING_A1, stringList.get(0));
    assertEquals(STRING_A2, stringList.get(1));
    // Test String containing three elements
    stringList.readFromString(STRING_3_ELEMENTS);
    assertEquals(3, stringList.size());
    assertEquals(STRING_A1, stringList.get(0));
    assertEquals(STRING_A2, stringList.get(1));
    assertEquals(STRING_A3, stringList.get(2));
}