Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for verifyMIC_failure_wraps (0.08 seconds)

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

            verify(gssContext, times(1)).verifyMIC(eq(mic), eq(0), eq(1), eq(data), eq(0), eq(2), any());
        }
    
        @Test
        @DisplayName("verifyMIC wraps GSSException into CIFSException")
        void verifyMIC_failure_wraps() throws Exception {
            byte[] data = new byte[] { 7 };
            byte[] mic = new byte[] { 8 };
            doThrow(new GSSException(GSSException.BAD_MIC)).when(gssContext)
    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