Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToStringLenient_addValueWithNullValue (0.3 sec)

  1. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .addValue(null)
                .toString();
        final String expected = "TestClass{null, Hello, null}";
    
        assertEquals(expected, result);
      }
    
      public void testToStringLenient_addValueWithNullValue() {
        final String result =
            MoreObjects.toStringHelper(new TestClass())
                .addValue(null)
                .addValue("Hello")
                .addValue(null)
                .toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top