Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for toString_established_throws (0.14 seconds)

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

            String s = ctx.toString();
            assertEquals("KERB5[src=client,targ=service,mech=1.2.3]", s);
        }
    
        @Test
        @DisplayName("toString falls back when GSS access fails")
        void toString_established_throws() throws Exception {
            when(gssContext.isEstablished()).thenReturn(true);
            when(gssContext.getSrcName()).thenThrow(new GSSException(GSSException.FAILURE));
            String s = ctx.toString();
    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