- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testGetNameMethod (0.1 seconds)
-
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertNotNull(response); assertTrue(response instanceof CreateContextResponse); } @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextResponse response = mock(CreateContextResponse.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertNotNull(request); assertTrue(request instanceof CreateContextRequest); } @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextRequest request = mock(CreateContextRequest.class); when(request.getName()).thenReturn(expectedName);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0)