- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCheckNotNull_simpleMessage_failure (0.18 sec)
-
guava-tests/test/com/google/common/base/PreconditionsTest.java
} public void testCheckNotNull_simpleMessage_success() { String result = checkNotNull(NON_NULL_STRING, IGNORE_ME); assertSame(NON_NULL_STRING, result); } public void testCheckNotNull_simpleMessage_failure() { NullPointerException expected = assertThrows(NullPointerException.class, () -> checkNotNull(null, new Message())); verifySimpleMessage(expected); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 19K bytes - Viewed (0)