Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for testClone (0.12 sec)

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

                doNothing().when(smbFile).connect();
    
                // Act
                smbFile.connect();
    
                // Assert - should not throw exception
            }
    
            @Test
            void testClose() {
                // Act
                smbFile.close();
    
                // Assert - should not throw exception
            }
    
            @Test
            void testGetTransportContext() {
                // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

        }
    
        @Nested
        @DisplayName("Resource Management Tests")
        class ResourceManagementTests {
    
            @Test
            @DisplayName("close operation should work correctly")
            void testClose() {
                // When/Then
                assertDoesNotThrow(() -> mockResource.close(), "Close operation should not throw exception");
                verify(mockResource).close();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
Back to top