Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for overlapsReturnsTrueThenFalse (0.96 sec)

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

            verifyNoMoreInteractions(locator);
        }
    
        // Happy path: overlaps delegates to implementation and returns as stubbed
        @Test
        @DisplayName("overlaps returns true then false as stubbed")
        void overlapsReturnsTrueThenFalse() throws Exception {
            when(locator.overlaps(other)).thenReturn(true, false);
    
            assertTrue(locator.overlaps(other));
            assertFalse(locator.overlaps(other));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top