Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToString_addWithNullName (0.11 sec)

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

                + "field2\\=\\[abc, def, ghi\\], "
                + "field3=\\{abc\\=1, def\\=2, ghi\\=3\\}\\}";
    
        assertTrue(toTest, toTest.matches(expectedRegex));
      }
    
      public void testToString_addWithNullName() {
        MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper(new TestClass());
        assertThrows(NullPointerException.class, () -> helper.add(null, "Hello"));
      }
    
    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