- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testMessageConstructor (0.35 sec)
-
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
// Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() { String errorMessage = "This is a test error message."; PACDecodingException e = new PACDecodingException(errorMessage); // Expect the message to be set correctly and cause to be nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException"); } @Test @DisplayName("Message constructor should create exception with specified message") void testMessageConstructor() { // Given & When CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(CRYPTO_ERROR_MESSAGE); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0)