Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for noInteraction_whenExceptionOccursBeforeCall (0.16 seconds)

  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 {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top