Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for initSecContext_failure_wraps (0.22 seconds)

  1. src/test/java/jcifs/smb/Kerb5ContextTest.java

            verify(gssContext, times(1)).initSecContext(eq(in), eq(0), eq(in.length));
        }
    
        @Test
        @DisplayName("initSecContext wraps GSSException into SmbAuthException")
        void initSecContext_failure_wraps() throws Exception {
            when(gssContext.initSecContext(any(), anyInt(), anyInt())).thenThrow(new GSSException(GSSException.DEFECTIVE_TOKEN));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top