- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToString_addWithNullValue (0.11 sec)
-
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertThrows(NullPointerException.class, () -> helper.add(null, "Hello")); } @GwtIncompatible // Class names are obfuscated in GWT public void testToString_addWithNullValue() { final String result = MoreObjects.toStringHelper(new TestClass()).add("Hello", null).toString(); assertEquals("TestClass{Hello=null}", result); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 21:19:18 UTC 2024 - 21.3K bytes - Viewed (0)