- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testStringAndThrowableConstructor (1.14 sec)
-
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Verify that the message + rootCause constructor stores the root. */ @Test @DisplayName("Message + root cause stores root cause") void testStringAndThrowableConstructor() { Throwable root = mock(Throwable.class); SmbException ex = new SmbException("oops", root); assertSame(root, ex.getRootCause()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)