- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCheckArgument_nullMessage_failure (0.13 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> checkArgument(false, new Message())); verifySimpleMessage(expected); } public void testCheckArgument_nullMessage_failure() { IllegalArgumentException expected = assertThrows(IllegalArgumentException.class, () -> checkArgument(false, null)); assertThat(expected).hasMessageThat().isEqualTo("null"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0)