- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testReadnMultipleCalls (0.13 seconds)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
int bytesRead = SessionServicePacket.readn(bais, buffer, 0, 5); assertEquals(0, bytesRead); } @Test @DisplayName("readn should handle multiple read calls") void testReadnMultipleCalls() throws IOException { when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(2) // First read returns 2 bytes .thenReturn(2) // Second read returns 2 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0)