- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TESTSCOPE (0.05 sec)
-
src/test/java/jcifs/NameServiceClientTest.java
} @Test void testGetNbtAllByAddress_StringIntString() throws UnknownHostException { // Arrange String host = "testHost"; int type = 0x20; String scope = "testScope"; NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) }; when(nameServiceClient.getNbtAllByAddress(host, type, scope)).thenReturn(expectedAddresses); // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
@DisplayName("Should handle getScope() method") void testGetScope() { // Given String testScope = "WORKGROUP"; when(mockNetbiosName.getScope()).thenReturn(testScope); // When String scope = mockNetbiosName.getScope(); // Then assertEquals(testScope, scope); verify(mockNetbiosName).getScope(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)