- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for acceptReturnsTrueWhenNameMatches (0.34 sec)
-
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
* a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt"); assertTrue(filter.accept(dir, "Hello.TXT")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0)