- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testToStringLenient_nullInteger (0.42 sec)
-
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", Integer.valueOf(42)).toString(); assertTrue(toTest, toTest.matches(".*\\{field1\\=42\\}")); } public void testToStringLenient_nullInteger() { String toTest = MoreObjects.toStringHelper(new TestClass()).add("field1", (Integer) null).toString(); assertTrue(toTest, toTest.matches(".*\\{field1\\=null\\}")); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 09 21:19:18 UTC 2024 - 21.3K bytes - Viewed (0)