- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for acceptWithMockedFile (0.15 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
} return true; } } @Nested @DisplayName("Happy path – accept is called and returns true") class HappyPath { @Test void acceptWithMockedFile() throws Exception { SmbFile mockFile = mock(SmbFile.class); when(mockFile.getPath()).thenReturn("/share/file.txt"); assertTrue(ALWAYSACTIVE.accept(mockFile)); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0)