- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for close_shouldDoNothingIfAlreadyClosed (0.74 sec)
-
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
aliasHandle.close(); }); assertEquals(errorCode, thrown.getNtStatus()); } @Test void close_shouldDoNothingIfAlreadyClosed() throws IOException { // Arrange int access = 1; int rid = 100; // Mock constructor success doAnswer(invocation -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
assertNotNull(capturedRpc); assertEquals(handle, capturedRpc.handle); // Ensure the handle itself is passed for closing } @Test void close_shouldDoNothingIfAlreadyClosed() throws IOException { // Arrange int access = 0x01; // Simulate successful open doAnswer(invocation -> { MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @Test void close_shouldDoNothingIfAlreadyClosed() throws IOException { // Arrange // First, successfully create an LsaPolicyHandle instance doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0)