Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testConstructorWithMessage (0.08 sec)

  1. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertNull(exception.getRootCause());
                assertTrue(exception instanceof IOException);
            }
    
            @Test
            @DisplayName("Should create exception with message")
            void testConstructorWithMessage() {
                String message = "Test error message";
                TransportException exception = new TransportException(message);
    
                assertNotNull(exception);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertNull(exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        @DisplayName("Should create RuntimeCIFSException with message")
        void testConstructorWithMessage() {
            // Given
            String message = "CIFS runtime error occurred";
    
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException(message);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top