public void testToStringImplWithNullEntries() throws Exception {
    List<String> list = Lists.newArrayList();
    list.add("foo");
    list.add(null);

    assertEquals(list.toString(), Collections2.toStringImpl(list));
  }
Пример #2
0
 protected String standardToString() {
   return Collections2.toStringImpl(this);
 }