@Test
public void testToString() {

    final TokenList list1 = new TokenList();
    list1.add(TOKEN1);
    list1.add(TOKEN2);
    list1.add(TOKEN3);
    Assert.assertEquals(TOKEN_LIST, list1.toString());
    final TokenList list2 = new TokenList(TOKEN_LIST);
    Assert.assertEquals(TOKEN_LIST, list2.toString());
}