- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testGetPipe (0.06 seconds)
-
src/test/java/jcifs/SmbPipeHandleTest.java
when(smbPipeHandle.getOutput()).thenReturn(mockOutputStream); } /** * Tests that the getter for the underlying pipe resource returns the correct instance. */ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
// Then assertEquals(mockResource, resource); verify(mockContext).get(url); } @Test @DisplayName("Should get SmbPipeResource") void testGetPipe() throws CIFSException { // Given String url = "smb://server/share/pipe"; int pipeType = 1; SmbPipeResource mockPipe = mock(SmbPipeResource.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0)