- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testExists (0.05 seconds)
-
src/test/java/jcifs/smb/SmbFileTest.java
doReturn(mockTreeHandle).when(smbFile).ensureTreeConnected(); when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testExists() throws SmbException, CIFSException { // Arrange when(mockTreeHandle.isSMB2()).thenReturn(false); SmbComQueryInformationResponse response = mock(SmbComQueryInformationResponse.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
assertTrue(type >= 0, "Type should be non-negative"); } @Test @DisplayName("exists should indicate resource existence") void testExists() throws CIFSException { // Given when(mockResource.exists()).thenReturn(true); // When boolean exists = mockResource.exists(); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)