Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for noInteraction_whenExceptionOccursBeforeCall (0.12 sec)

  1. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            verify(supplier, times(1)).get();
            verifyNoMoreInteractions(supplier);
        }
    
        @Test
        @DisplayName("No collaborator interaction occurs if exception is thrown beforehand")
        void noInteraction_whenExceptionOccursBeforeCall() {
            // Arrange
            Runnable r = mock(Runnable.class);
    
            // Act: simulate control flow where the exception happens before any collaborator is used
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top