@Test
public void testCollectionToString() {

    List<Integer> list = new ArrayList<Integer>();
    list.add(1);
    list.add(2);
    list.add(3);
    String result = Strings.toString(list);
    String expected = "[1, 2, 3]";
    assertThat(result, is(expected));
}