Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for calculateMIC_failure_wraps (0.14 sec)

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

            verify(gssContext, times(1)).getMIC(eq(data), eq(0), eq(3), any());
        }
    
        @Test
        @DisplayName("calculateMIC wraps GSSException into CIFSException")
        void calculateMIC_failure_wraps() throws Exception {
            byte[] data = new byte[] { 0 };
            when(gssContext.getMIC(any(), anyInt(), anyInt(), any())).thenThrow(new GSSException(GSSException.FAILURE));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top