- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testGetPipe (0.04 sec)
-
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);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
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.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)