Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUnwrap_withSameType (0.08 sec)

  1. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Test for unwrap() method with the same type.
         * Verifies that unwrap can return itself when the type matches.
         */
        @Test
        void testUnwrap_withSameType() {
            when(smbTree.unwrap(SmbTree.class)).thenReturn(smbTree);
    
            SmbTree result = smbTree.unwrap(SmbTree.class);
    
            assertNotNull(result, "Unwrapped tree should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top